« Bugzilla Issues Index
#4158 — 21.2.5.8 RegExp.prototype[@@replace], step 16.l.ii: Type(capN) is Completion, and never Undefined
- bug_id:
4158
- creation_ts:
2015-03-12 12:39:00 -0700
- short_desc:
21.2.5.8 RegExp.prototype[@@replace], step 16.l.ii: Type(capN) is Completion, and never Undefined
- delta_ts:
2015-03-17 16:57:05 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 35: March 4, 2015 Release Candidate 2
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Claude Pache
- assigned_to:
Allen Wirfs-Brock
- commentid:
13715
- comment_count:
0
- who:
Claude Pache
- bug_when:
2015-03-12 12:39:12 -0700
21.2.5.8 RegExp.prototype[@@replace]
Step 16.l.ii.
It is tested whether Type(capN) is Undefined. But at this point, Type(capN) is always Completion.
Substeps of step 16.l should be:
i. Let capN be Get(result, ToString(n)).
ii. ReturnIfAbrupt(capN).
iii. If capN is not undefined, then
1. Let capN be ToString(capN).
2. ReturnIfAbrupt(capN).
iv. etc.
- commentid:
13716
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-03-12 12:49:24 -0700
fixed in rev36 editor's draft
- commentid:
13813
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-03-17 16:57:05 -0700
in rev36