Skip to content

add missing tests for early errors for restricted names in strict/module code #897

Open
@leobalter

Description

@leobalter

https://tc39.github.io/ecma262/#sec-identifiers-static-semantics-early-errors

We already have a few tests, but we are not covering this part properly.

Some current examples:

  • test/language/module-code/early-import-arguments.js
  • test/language/module-code/early-import-as-arguments.js
  • test/language/module-code/early-import-as-eval.js
  • test/language/module-code/early-import-eval.js
  • test/language/expressions/async-generators/early-errors-expression-yield-as-function-binding-identifier.js
  • test/language/expressions/generators/yield-as-generator-expression-binding-identifier.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions