Skip to content
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

Error improvements #6347

Merged
merged 1 commit into from
Dec 6, 2019
Merged

Conversation

rhuanjl
Copy link
Collaborator

@rhuanjl rhuanjl commented Dec 4, 2019

This PR turns early reference errors into syntax errors per tc39/ecma262#1527

And makes a few other error message improvements including fixing #6339

fix: #6339

lib/Parser/perrors.h Outdated Show resolved Hide resolved
@rhuanjl rhuanjl force-pushed the parseErrorImprovements branch from 94b2756 to f2aad9f Compare December 5, 2019 22:32
@rhuanjl
Copy link
Collaborator Author

rhuanjl commented Dec 5, 2019

I wanted to sort out the ReferenceError/SyntaxError thing to get down to only one test262 fail for me Top Level Await implementation; and thought I may as well do a few more error fixes whilst I was at it. Anyway I've updated for feedback and rebased so hopefully good to merge.

chakrabot pushed a commit that referenced this pull request Dec 6, 2019
Merge pull request #6347 from rhuanjl:parseErrorImprovements

This PR turns early reference errors into syntax errors per  tc39/ecma262#1527

And makes a few other error message improvements including fixing #6339

fix: #6339
@chakrabot chakrabot merged commit f2aad9f into chakra-core:master Dec 6, 2019
@rhuanjl rhuanjl deleted the parseErrorImprovements branch December 6, 2019 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve error for import/export in non-ESM code
3 participants