-
-
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
[Merged by Bors] - Implement delete for references #2395
Conversation
Test262 conformance changes
Fixed tests (37):
|
Codecov Report
@@ Coverage Diff @@
## main #2395 +/- ##
==========================================
- Coverage 39.71% 39.61% -0.11%
==========================================
Files 307 307
Lines 23437 23507 +70
==========================================
+ Hits 9309 9313 +4
- Misses 14128 14194 +66
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Great work, looks good!
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.
Looks good, thanks! :) I just had a few questions :)
bors r+ |
This Pull Request implements `delete` for variable references: ```Javascript x = 5; console.log(x) // 5; delete x; console.log(x) // ReferenceError ``` It changes the following: - Implements delete for references. - Fixes tests related to deletions of function definitions inside `eval`. - Implements an op to throw an error on super property deletion. This puts us at a conformance of 97.98% for the `test/language/expressions/delete` suite. The last 2 failing tests are related to `with` statements ([11.4.1-4.a-5.js](https://github.com/tc39/test262/blob/b5d3192914e9b107ce4f5df4f77e625865d337c7/test/language/expressions/delete/11.4.1-4.a-5.js#L1) and [11.4.1-4.a-6.js](https://github.com/tc39/test262/blob/b5d3192914e9b107ce4f5df4f77e625865d337c7/test/language/expressions/delete/11.4.1-4.a-6.js#L18)).
Pull request successfully merged into main. Build succeeded: |
This Pull Request implements
delete
for variable references:It changes the following:
eval
.This puts us at a conformance of 97.98% for the
test/language/expressions/delete
suite. The last 2 failing tests are related towith
statements (11.4.1-4.a-5.js and 11.4.1-4.a-6.js).