« Bugzilla Issues Index
#2583 — 15.2.0.1 Early Errors, 15.2.0.10 LexicallyDeclaredNames: `export VariableStatement` should not be lexically declared name
- bug_id:
2583
- creation_ts:
2014-03-21 07:55:00 -0700
- short_desc:
15.2.0.1 Early Errors, 15.2.0.10 LexicallyDeclaredNames: `export VariableStatement` should not be lexically declared name
- delta_ts:
2014-04-06 11:30:05 -0700
- product:
Draft for 6th Edition
- component:
Modules
- version:
Rev 22: January 20, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- cc:
["dherman", "jorendorff", "samth"]
- commentid:
7454
- comment_count:
0
- who:
André Bargull
- bug_when:
2014-03-21 07:55:46 -0700
15.2.0.1 Static Semantics: Early Errors
> It is a Syntax Error if any element of the LexicallyDeclaredNames of
> ModuleItemList also occurs in the VarDeclaredNames of ModuleItemList.
15.2.0.10 Static Semantics: LexicallyDeclaredNames
> ModuleItem: ExportDeclaration : Return the BoundNames of ExportDeclaration.
15.2.0.10 needs to exclude `export VariableStatement` from the lexically declared names, otherwise the early error restriction is always true for `export VariableStatement`.
- commentid:
7455
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-03-21 10:13:02 -0700
fixed in rev23 editor's draft
- commentid:
7544
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-04-06 11:30:05 -0700
fixed in rev23 draft