RESOLVED FIXED 142902
Computed Property names should allow only AssignmentExpressions not any Expression
https://bugs.webkit.org/show_bug.cgi?id=142902
Summary Computed Property names should allow only AssignmentExpressions not any Expre...
Joseph Pecoraro
Reported 2015-03-20 00:16:23 PDT
* SUMMARY Computed Property names should allow only AssignmentExpressions not any Expression: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-initializer ComputedPropertyName[Yield] : [ AssignmentExpression[In, ?Yield] ] * TEST var x = { [1,"test"]: 1 }; // should throw an exception
Attachments
[PATCH] Proposed Fix (8.96 KB, patch)
2015-03-20 00:27 PDT, Joseph Pecoraro
rniwa: review+
rniwa: commit-queue-
Joseph Pecoraro
Comment 1 2015-03-20 00:27:01 PDT
Created attachment 249092 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 2 2015-03-21 20:21:12 PDT
Note You need to log in before you can comment on or make changes to this bug.