« Bugzilla Issues Index
#4092 — LexicallyDeclaredNames for non empty block is not defined
- bug_id:
4092
- creation_ts:
2015-02-25 22:19:00 -0800
- short_desc:
LexicallyDeclaredNames for non empty block is not defined
- delta_ts:
2015-02-25 22:28:03 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 34: February 20, 2015 Release Candidate 1
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
INVALID
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Bei Zhang
- assigned_to:
Allen Wirfs-Brock
- commentid:
13377
- comment_count:
0
- who:
Bei Zhang
- bug_when:
2015-02-25 22:19:38 -0800
In [13.1.5 Static Semantics: LexicallyDeclaredNames], the following production:
Block : { StatementList }
is not listed.
We should add:
Block : { StatementList }
Return the LexicallyDeclaredNames of StatementList.
to the spec.
- commentid:
13378
- comment_count:
1
- who:
Bei Zhang
- bug_when:
2015-02-25 22:28:03 -0800
Read the section 5.2 Algorithm Conventions. This case is in fact covered by chain production's implicit definition rule. Thus close the issue.