« Bugzilla Issues Index
#1063 — 15.*: Is [[Match]] a method or a data property?
- bug_id:
1063
- creation_ts:
2012-11-26 21:21:00 -0800
- short_desc:
15.*: Is [[Match]] a method or a data property?
- delta_ts:
2013-03-08 14:44:19 -0800
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 12: November 22, 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Michael Dyck
- assigned_to:
Allen Wirfs-Brock
- commentid:
2862
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2012-11-26 21:21:34 -0800
The spec refers to [[Match]] as both:
-- an internal method (15.5.4.14, 15.10.6.2); and
-- an internal data property (15.10.2, 15.10.4.1, 15.10.7).
It's possible these aren't in conflict -- the terms aren't defined precisely enough to say for sure -- but regardless, it would probably be better to pick one and use it consistently.
I think "internal method" has the stronger claim, given that one can "call" it.
- commentid:
2889
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-11-27 22:18:33 -0800
In ES3 and 5 it was an internal method. I'm hoping that it becomes something else. Possibly a real method such as @@match, but it could potentially also be a function valued internal data property.
In either case, I really haven't work on that problem yet, and the RegExp spec language is still in a transitional state.
- commentid:
3269
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-03-05 16:42:33 -0800
fixed in rev 14 editor's draft
- commentid:
3348
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2013-03-08 14:44:19 -0800
in Rev 14 draft