« Bugzilla Issues Index
#157 — "do{}while(false)false" prohibited in spec but allowed in consensus reality
- bug_id:
157
- creation_ts:
2011-07-20 17:12:00 -0700
- short_desc:
"do{}while(false)false" prohibited in spec but allowed in consensus reality
- delta_ts:
2012-02-27 16:52:30 -0800
- product:
Draft for 6th Edition
- component:
normative change from ES5.x
- version:
Initial draft July 12, 2011
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- bug_severity:
minor
- dependson:
8
- everconfirmed:
true
- reporter:
Allen Wirfs-Brock
- assigned_to:
Allen Wirfs-Brock
- cc:
["brendan", "erights", "erights"]
- cf_tc39approval:
2011-07-28 00:00:00
- flag:
{"_attributes"=>{"name"=>"TC39Review", "id"=>"2", "type_id"=>"1", "status"=>"+", "setter"=>"allen"}}
- commentid:
355
- comment_count:
0
- who:
Allen Wirfs-Brock
- bug_when:
2011-07-20 17:12:01 -0700
+++ This bug was initially created as a clone of Bug #8 +++
See thread beginning at https://mail.mozilla.org/pipermail/es-discuss/2011-February/012751.html especially https://mail.mozilla.org/pipermail/es-discuss/2011-February/012758.html
https://bugzilla.mozilla.org/show_bug.cgi?id=238945
https://bugs.ecmascript.org/show_bug.cgi?id=7
http://code.google.com/p/v8/issues/detail?id=1127
If it is too late to add an errata to the ES5.1 spec to make it meet reality, we need to at least record this on the ecmascript wiki. And we should fix it in the next spec.
- commentid:
457
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2011-09-23 08:25:50 -0700
efrom July 2001 meting notes:
Approved -- this is the de-facto standard whereby do;while(0)x will have a semicolon inserted before x.
- commentid:
693
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2012-02-27 16:52:30 -0800
corrected by removing required semicolon as final token of do-while statement.
fixed in feb 2012 draft