« Bugzilla Issues Index
#457 — 13.5: "FunctionBody"
- bug_id:
457
- creation_ts:
2012-07-07 20:20:00 -0700
- short_desc:
13.5: "FunctionBody"
- delta_ts:
2013-10-22 14:20:13 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 8: June 15, 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Michael Dyck
- assigned_to:
Allen Wirfs-Brock
- commentid:
1139
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2012-07-07 20:20:12 -0700
In 13.5 "Class Definitions",
under "Runtime Semantics: ClassDefinitionEvaluation",
step 4 says:
"If the ClassTail is contained in strict code
or if its FunctionBody is strict code, ..."
What FunctionBody? Change to "ClassBody" ?
- commentid:
1151
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-07-08 12:59:09 -0700
FunctionBody actually need to be the body of the constructor method definition.
However, note that strict is further used in this semantic rule. The appropriate place would be to pass it as an argument in steps 9 and 14a. However, first we just need to decide whether classes and/or concise methods are always strict or not.
- commentid:
5950
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-10-22 14:20:13 -0700
fixed somewhere along the way