Open
Description
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