Comment #3 on issue 3570 by [email protected]: Classes: Handle
duplicate constructors correctly
https://code.google.com/p/v8/issues/detail?id=3570#c3
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/a13e2298e20976fc2e2a76eaba97a81f6e88aab7
commit a13e2298e20976fc2e2a76eaba97a81f6e88aab7
Author: [email protected] <[email protected]>
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
[email protected]
Review URL: https://codereview.chromium.org/677953004
Cr-Commit-Position: refs/heads/master@{#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/+/a13e2298e20976fc2e2a76eaba97a81f6e88aab7/src/messages.js
[modify]
https://chromium.googlesource.com/v8/v8.git/+/a13e2298e20976fc2e2a76eaba97a81f6e88aab7/src/preparser.h
[modify]
https://chromium.googlesource.com/v8/v8.git/+/a13e2298e20976fc2e2a76eaba97a81f6e88aab7/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
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.