Comment #2 on issue 3570 by bugdro...@chromium.org: Classes: Handle duplicate constructors correctly
https://code.google.com/p/v8/issues/detail?id=3570#c2

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/47e7f3f73d453dd76e4a29e35fa1fbe39fd4f114

commit 47e7f3f73d453dd76e4a29e35fa1fbe39fd4f114
Author: a...@chromium.org <a...@chromium.org>
Date: Tue Oct 28 12:23:26 2014

Allow 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=ma...@chromium.org

Review URL: https://codereview.chromium.org/677953004

Cr-Commit-Position: refs/branch-heads/bleeding_edge@{#24933}
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24933 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

[modify] https://chromium.googlesource.com/v8/v8.git/+/47e7f3f73d453dd76e4a29e35fa1fbe39fd4f114/src/messages.js [modify] https://chromium.googlesource.com/v8/v8.git/+/47e7f3f73d453dd76e4a29e35fa1fbe39fd4f114/src/preparser.h [modify] https://chromium.googlesource.com/v8/v8.git/+/47e7f3f73d453dd76e4a29e35fa1fbe39fd4f114/test/cctest/test-parsing.cc


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to