-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
Remove incorrect cursor.set_goal()
call in AssignmentExpression
parsing
#2177
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2177 +/- ##
==========================================
- Coverage 41.91% 41.90% -0.01%
==========================================
Files 231 231
Lines 21502 21501 -1
==========================================
- Hits 9012 9010 -2
- Misses 12490 12491 +1
Continue to review full report at Codecov.
|
cursor.set_goal()
call in AssignmentExpression
parsing
It seems that this makes a ton of existing tests to fail (check Test262 output). I guess the goal needs to be set at some point, but inside nested expression parsing |
Test262 conformance changesVM implementation
Broken tests (104):
|
Closing in favour of #2268 |
This Pull Request fixes/closes #2148. It changes the following: - When we start an assignment expression, the `/` token must be a regular expression literal. The division can only occur between expressions after the assignment operator. - Added tests for the new behaviour, taken from #2177 This overrides #2177
This Pull Request fixes/closes #2148 .
It changes the following:
cursor.set_goal()
call from the AssignmentExpression parse expression