archives

« Bugzilla Issues Index

#3407 — 15.2.1: LexicallyDeclaredNames and LexicallyScopedDeclarations in modules


15.2.1 Module Semantics


ImportDeclaration should not be part of LexicallyDeclaredNames and LexicallyScopedDeclarations, cf. 15.2.1.1 and 15.2.1.21.


fixed in rev30 editor's draft

We do want to treat imported bindings as lexically declared names. The rules in 15.2.1.1 have been corrected and updated.

However, ImportDeclaration should not be included in LexicallyScopeDeclaration because they are separately instantiated.


fixed in rev30