Closed
Description
Function declarations are interpreted as lexically-scoped in module code
test cases:
https://github.com/tc39/test262/blob/master/test/language/module-code/parse-err-hoist-lex-fun.js
and
https://github.com/tc39/test262/blob/master/test/language/module-code/parse-err-hoist-lex-gen.js
Currently acorn will allow each test case to parse as a module and not throw the expected syntax error.
Metadata
Metadata
Assignees
Labels
No labels