Skip to content

Conversation

@JLHwung
Copy link
Contributor

@JLHwung JLHwung commented Dec 3, 2020

Q                       A
Fixed Issues? When estree is enabled, Babel parser incorrectly throws for valid "use\x20strict"; with (a) {}, astexplorer, CI Failure reported by the new test runner.
Tests Added + Pass? Yes
License MIT

This first commit is to enable estree test to be run on those test cases that does not expect errors. The second commit is to fix the issue detected by the new test runner.

This PR is a follow-up to #12375.

@JLHwung JLHwung added PR: Spec Compliance 👓 A type of pull request used for our changelog categories pkg: parser area: estree labels Dec 3, 2020
@babel-bot
Copy link
Collaborator

babel-bot commented Dec 3, 2020

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/33983/

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 3, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 65f333e:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@JLHwung JLHwung marked this pull request as ready for review December 3, 2020 21:36
@JLHwung JLHwung merged commit 3bd6a3d into babel:main Dec 4, 2020
@JLHwung JLHwung deleted the fix-estree-not-throw branch December 4, 2020 18:58
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Mar 6, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: estree outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: parser PR: Spec Compliance 👓 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants