Status: New
Owner: ----
New issue 4008 by [email protected]: Duplicate Class Definition names
produce a TypeError, not SyntaxError
https://code.google.com/p/v8/issues/detail?id=4008
Replicate with:
class A {}
class A {}
14.5.14 Runtime Semantics: ClassDefinitionEvaluation
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-class-definitions
4. If className is not undefined, then
Perform classScopeEnvRec.CreateImmutableBinding(className, true).
8.1.1.4.3 CreateImmutableBinding (N, S)
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-global-environment-records-createimmutablebinding-n-s
3. If DclRec.HasBinding(N) is true, throw a TypeError exception.
--
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.