New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(es/parser): Re-lex <<
as two <
-s if required
#7439
Conversation
I looked at this and found the source of the bug, but I'm not sure how to fix it. It's in expr.rs:691, near the end of Problem is: this context is correct at the time. The lexing actually happens in The Typescript parser relies on contexts less heavily than swc, and its lexer has a @kdy1 could you advise on whether rescanning is a possibility in the swc lexer? A third option would be massive lookahead, in which |
<<
as two <
-s if required
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
swc-bump:
- swc_ecma_parser
@sandersn Thank you! Your comment was very helpful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automated review comment generated by auto-rebase script
Description:
Related issue: