« Bugzilla Issues Index
#1968 — 12.1.5: "yield" should be allowed in Object Initialisers
- bug_id:
1968
- creation_ts:
2013-09-29 04:39:00 -0700
- short_desc:
12.1.5: "yield" should be allowed in Object Initialisers
- delta_ts:
2013-10-29 09:45:17 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 19: September 27, 2013 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
- commentid:
5642
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-09-29 04:39:24 -0700
12.1.5.1 Static Semantics: Early Errors
PropertyDefinition : IdentifierName
- It is a Syntax Error if IdentifierName is a ReservedWord.
But "yield" is now a ReservedWord, that means `({yield})` is not allowed, but it should be allowed in non-strict mode.
- commentid:
5923
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-21 12:36:19 -0700
fixed in rev20 editor's draft
- commentid:
6057
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-29 09:45:17 -0700
fixed in rev20 draft, Oct. 28, 2013