Replies: 2 comments
-
Did you read https://swc.rs/docs/contributing/es-commons/variable-management ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Btw, I think we should migrate to node id anyway |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While investigating the design and purpose of
SyntaxContext
, I discovered this code was adapted from macro expansion logic in rustc. However, this design presents clear issues:Fundamental Mismatch: JavaScript lacks macro capabilities, making this direct porting of Rust's logic unnecessarily confusing.
Current Problems:
SyntaxContext
remains unclearProposed Solutions:
SyntaxContext
's purpose and clarify its role in the JavaScript context specifically.Beta Was this translation helpful? Give feedback.
All reactions