-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Parse error found via module_roundtrip_naive
#161
Comments
It is because RegExp literals need special lexing. The RegExp lexing state is set when the previous token is an expression prefix (and the next character is
Lines 405 to 424 in 4e19531
(this will fix in the ongoing #158 I wonder if there is a way to reuse this logic? ezno/parser/src/expressions/operators.rs Line 369 in 4e19531
Also I guess you are you finding these issues by running the fuzzing locally? Is it finding these quick? |
Yep, I'm running it locally on an M1 Max macbook pro with lots of ram, takes only a minute or so of running to find these |
- Fix capitalisation in `ForLoopStatementInitialiser` - Fix for #154 - Renames and fix for #161 - Fix for code_blocks_to_script & performance action - Add array pretty printing - Fix spread being allowed not at the end of destructuring (required checker changes) - Not sure why fuzzing broke? - Add `LTSI::new_under` public method - Change `cargo-fuzz` install to fix issue
This specific issue fixed in #158 |
Sorry for the lack of context for the moment, I just want to get a WIP issue up:
I'll try to see what's causing the failing parsing or printing in a bit
The text was updated successfully, but these errors were encountered: