-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Upgrade: [email protected] #407
Conversation
"column": 30, | ||
"message": "The keyword 'yield' is reserved" |
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.
🎉
5c75628
to
9249e11
Compare
3985b98
to
9df237d
Compare
@@ -1,87 +1,179 @@ | |||
module.exports = { | |||
"type": "Program", | |||
"start": 0, |
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 noticing these are new after updating these tests. It looks like Acorn has been adding the "start" and "end" properties to the Program
node for a while, so I'm not sure why they were missing 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.
LGTM, thanks!
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 🎉
[email protected] is now fully ECMA-262-compliant!
There are two types of test changes included:
I had trouble getting our existing
tools/update-tests.js
script to work, so I ended up just running Espree over the code snippets and updating them manually. I'll try to find some time in the future to look at the scripts and see if I can get them to work - I seem to remember that being an issue last time I tried to update tests too.