denoland / deno_ast

Source text parsing, lexing, and AST related functionality for Deno
https://crates.io/crates/deno_ast
MIT License
144 stars 43 forks source link

fix: use swc `Comment` trait for emitting #235

Closed dsherret closed 3 months ago

dsherret commented 3 months ago

For making the graph Send again: https://github.com/denoland/deno_graph/commit/2b1b063cb5b9bce852badf31283439b56154d64d#r140885097

dsherret commented 3 months ago

I forgot MultiThreadedComments don't support write operations (necessary for emitting), but this change is fine and more flexible anyway.