Updates:
Summary: PutValue and [[Put]] do not throw for primitive base values in strict mode
        Status: PendingFurtherInfo
        Owner: [email protected]
        Cc: [email protected] [email protected]
        Labels: Type-Bug Priority-Low Harmony

Comment #1 on issue 3088 by [email protected]: PutValue and [[Put]] do not throw for primitive base values in strict mode
http://code.google.com/p/v8/issues/detail?id=3088

You are right, according to ES5 this test case should indeed throw a TypeError. This is specified in ES5.1 section 8.7.2 in step 7.a of the special [[Put]] method that is to be used for primitive base values.

However in ES6 this behavior might have changed as the current draft does not contain such a case any longer (or at least I wasn't able to find it). This means chances are that we will not fix this in V8. I am keeping this bug open until we have some confirmation that this is indeed an expected change in semantics from ES5 to ES6.

--
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.

Reply via email to