Skip to content

Commit f758266

Browse files
committed
[Refactoring] Preserve comments in async transform
Previously we would drop comments between nodes in a BraceStmt, as we printed each node out individually. To remedy this, always make sure we scan backwards to find any preceding comments attached to a node, and also keep track of any SourceLocs which we don't print, but may have comments attached which we want to preserve. rdar://77401810
1 parent 88579e1 commit f758266

File tree

5 files changed

+518
-45
lines changed

5 files changed

+518
-45
lines changed

0 commit comments

Comments
 (0)