« Bugzilla Issues Index
#3767 — 14.4.12 EvaluateBody: Unnecessary ReturnIfAbrupt in step 4
- bug_id:
3767
- creation_ts:
2015-02-05 13:42:00 -0800
- short_desc:
14.4.12 EvaluateBody: Unnecessary ReturnIfAbrupt in step 4
- delta_ts:
2015-02-12 12:17:40 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 32: February 2, 2015 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:
12137
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-02-05 13:42:40 -0800
14.4.12 Runtime Semantics: EvaluateBody
Step 4:
ReturnIfAbrupt is not needed because GeneratorStart is infallible.
Maybe also change GeneratorStart to return NormalCompletion(undefined), and then change 14.4.12 to:
> 3. Perform GeneratorStart(G, FunctionBody).
> 4. Return Completion{[[type]]: return, [[value]]: G, [[target]]: empty}.
- commentid:
12186
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-06 09:26:47 -0800
fixed in rev33 editor's draft
- commentid:
12441
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-12 12:17:40 -0800
fixed in rev33