-
-
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] - Move redeclaration errors to parser #2027
Conversation
Test262 conformance changesVM implementation
Fixed tests (198):
Broken tests (2):
|
Codecov Report
@@ Coverage Diff @@
## main #2027 +/- ##
==========================================
+ Coverage 43.92% 44.16% +0.24%
==========================================
Files 211 212 +1
Lines 18693 18812 +119
==========================================
+ Hits 8211 8309 +98
- Misses 10482 10503 +21
Continue to review full report at Codecov.
|
Benchmark for e36cad4Click to view benchmark
|
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.
This looks good from my side! :)
b981391
to
393149d
Compare
Rebased |
Benchmark for 1f70b9cClick to view benchmark
|
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.
I'm happy to merge it as-is, looks very good and this is a great improvement now! Check my comments to see if it makes sense to take action on them :)
Benchmark for 3b2af86Click to view benchmark
|
bors r+ |
This Pull Request changes the following: - Implement redeclaration errors in the parser - Remove redeclaration errors from the compiler (this is a big step towards #1907) - Fix some failing tests on the way This requires a slight change in our public api. The Parser new requires a full `Context` instead of just the `Interner` for parsing new code. This is required, because if multiple scripts are parsed (e.g. every input in the REPL) global variables must be checked for redeclarations.
Pull request successfully merged into main. Build succeeded: |
This Pull Request changes the following: - Implement redeclaration errors in the parser - Remove redeclaration errors from the compiler (this is a big step towards #1907) - Fix some failing tests on the way This requires a slight change in our public api. The Parser new requires a full `Context` instead of just the `Interner` for parsing new code. This is required, because if multiple scripts are parsed (e.g. every input in the REPL) global variables must be checked for redeclarations.
This Pull Request changes the following:
This requires a slight change in our public api. The Parser new requires a full
Context
instead of just theInterner
for parsing new code. This is required, because if multiple scripts are parsed (e.g. every input in the REPL) global variables must be checked for redeclarations.