« Bugzilla Issues Index
#4061 — 12.2.5.9 PropertyDefinitionEvaluation, B.3.1: Don't invoke IsFunctionDefinition
- bug_id:
4061
- creation_ts:
2015-02-21 08:35:00 -0800
- short_desc:
12.2.5.9 PropertyDefinitionEvaluation, B.3.1: Don't invoke IsFunctionDefinition
- delta_ts:
2015-03-04 18:58:13 -0800
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 34: February 20, 2015 Release Candidate 1
- 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:
13235
- comment_count:
0
- who:
André Bargull
- bug_when:
2015-02-21 08:35:19 -0800
12.2.5.9 Runtime Semantics: PropertyDefinitionEvaluation
B.3.1 __proto__ Property Names in Object Initializers
It's not necessary to invoke IsFunctionDefinition if it is directly followed by IsAnonymousFunctionDefinition.
Step 6 for `PropertyDefinition : PropertyName : AssignmentExpression` can be simplified to:
> 6. If IsAnonymousFunctionDefinition(AssignmentExpression) is true, then
> a. Let hasNameProperty be HasOwnProperty(propValue, "name" ).
> b. ReturnIfAbrupt(hasNameProperty).
> c. If hasNameProperty is false, perform SetFunctionName(propValue, propKey).
- commentid:
13366
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2015-02-25 16:45:35 -0800
fixed in rev35 editor's draft
- commentid:
13483
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2015-03-04 18:58:13 -0800
fixed in rev35