You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for building this project, it's very useful!
After upgrading to Peast 1.16.1 to fix the edge case in parsing that @Krinkle reported in #67, we've discovered a new problem. It seems that the regexp parser that wasn't strict enough before is now too strict.
Minimal test case is: Peast\Peast::ES2016( '/=\n/' )->parse(); – this succeeds on 1.16.0 and throws an exception on 1.16.1.
Downstream bug reports for context, and links to the script that triggered the problem in case you need a bigger test case:
I've just fixed this bug and released a new version, actually the problem was only for a regex that started with /= since that is also an operator and the scanner could not detect when it should forgive an invalid character after that to try reconsuming it as regex.
Thank you for reporting!
Hi, thank you for building this project, it's very useful!
After upgrading to Peast 1.16.1 to fix the edge case in parsing that @Krinkle reported in #67, we've discovered a new problem. It seems that the regexp parser that wasn't strict enough before is now too strict.
Minimal test case is:
Peast\Peast::ES2016( '/=\n/' )->parse();
– this succeeds on 1.16.0 and throws an exception on 1.16.1.Downstream bug reports for context, and links to the script that triggered the problem in case you need a bigger test case:
Thanks!
The text was updated successfully, but these errors were encountered: