-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
[Merged by Bors] - Rewrite scope analysis operations using visitors #2408
Conversation
Test262 conformance changes
Fixed tests (20):
Broken tests (2):
|
Codecov Report
@@ Coverage Diff @@
## main #2408 +/- ##
==========================================
- Coverage 38.83% 38.41% -0.43%
==========================================
Files 313 313
Lines 23863 23974 +111
==========================================
- Hits 9267 9209 -58
- Misses 14596 14765 +169
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
da20adc
to
e03e9dd
Compare
@Razican Applied your code suggestions here. Let me know if I missed something. |
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.
LGTM :)
bors r+ |
This PR rewrites all syntax-directed operations that find declared names and variables using visitors. Hopefully, this should be the last step before finally being able to separate the parser from the engine. I checked the failing [tests](https://github.com/tc39/test262/blob/85373b4ce12a908f8fc517093d95cf2ed2f5ee6a/test/language/statements/for-await-of/async-gen-decl-dstr-obj-prop-elem-target-yield-expr.js#L49) and they're apparently false positives, since they return `Promise { <rejected> ReferenceError: x is not initialized }` on the main branch.
Pull request successfully merged into main. Build succeeded: |
Depends on #2408. This finally separates parsing from execution, which should make compilations a bit faster.
This PR rewrites all syntax-directed operations that find declared names and variables using visitors.
Hopefully, this should be the last step before finally being able to separate the parser from the engine.
I checked the failing tests and they're apparently false positives, since they return
Promise { <rejected> ReferenceError: x is not initialized }
on the main branch.