Skip to content

chore: update test262 tests#12204

Merged
JLHwung merged 1 commit intobabel:mainfrom
JLHwung:update-test262
Oct 16, 2020
Merged

chore: update test262 tests#12204
JLHwung merged 1 commit intobabel:mainfrom
JLHwung:update-test262

Conversation

@JLHwung
Copy link
Copy Markdown
Contributor

@JLHwung JLHwung commented Oct 16, 2020

Q                       A
License MIT

Bumped test262 versions add feature mappings for arbitrary-module-specifier-names. Also moved some features to ignored since they are always enabled in @babel/parser.

@JLHwung JLHwung added PR: Internal 🏠 A type of pull request used for our changelog categories area: test262 labels Oct 16, 2020
language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-await-expression.js(default)
language/expressions/class/cpn-class-expr-fields-methods-computed-property-name-from-await-expression.js(strict mode)
language/statements/class/cpn-class-decl-fields-methods-computed-property-name-from-await-expression.js(default)
language/statements/class/cpn-class-decl-fields-methods-computed-property-name-from-await-expression.js(strict mode)
Copy link
Copy Markdown
Contributor Author

@JLHwung JLHwung Oct 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is indeed a bug of @babel/parser

class C { [await 9] = () => {} }

should not throw

Can not use 'await' as identifier inside an async function (2:3)

when sourceType is "module" and "topLevelAwait" is enabled.

@babel-bot
Copy link
Copy Markdown
Collaborator

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

@codesandbox-ci
Copy link
Copy Markdown

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 8a36739:

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

@JLHwung JLHwung merged commit 1964c96 into babel:main Oct 16, 2020
@JLHwung JLHwung deleted the update-test262 branch October 16, 2020 20:55
@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 Jan 16, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area: test262 outdated A closed issue/PR that is archived due to age. Recommended to make a new issue PR: Internal 🏠 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants