DescriptionAllow duplicate property names in classes
ES6 no longer makes duplicate properties an error. However, we
continue to treat duplicate properties in strict mode object
literals as errors. With this change we allow duplicate properties
in class bodies. We continue to flag duplicate constructors as an
error as required by ES6.
BUG=v8:3570
LOG=Y
R=marja@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=24933
Patch Set 1 #
Total comments: 3
Patch Set 2 : Remove out dated comment and add/fix assert #
Messages
Total messages: 6 (1 generated)
|