Status: New
Owner: ----
New issue 3137 by [email protected]: PropertyName of getter and
setter accessors in object literals is not normalised
http://code.google.com/p/v8/issues/detail?id=3137
Property names of getter and setter accessors in object literals need to be
normalised, see [ES5.1 11.1.5] Object Initialiser, evaluation semantics for
the production rule "PropertyName : NumericLiteral".
Test case:
---
function f(){
return Object.getOwnPropertyDescriptor({set 1.1e1(a){}}, "11").set
}
f()
---
Expected: returns setter function
Actual: throws TypeError
Test case:
---
({get .0(){return 0}})[0]
---
Expected: returns 0
Actual: returns undefined
--
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/groups/opt_out.