lukeed/tidyPublic

fix: comments by holes, bodies

oxc has nodes for an array's holes and for a function's { .. }; bun's
tree has neither. A comment next to a hole attached to it and printed
after the statement, and one before an empty body attached to a name
there, so the rule that moves it into the body never ran. Neither is
attachable now. Ten more of Prettier's fixtures match.
LELuke Edwards authored
eb88c46Patch
Parentbb943a4
1 file changed+4-2
StackedSplit
crates/tidy/src/js/ast/comments.rs+4 −2