Comment #2 on issue 2536 by erik.corry: Spelling error in error message about writeable properties
http://code.google.com/p/v8/issues/detail?id=2536

There is some disagreement on the net and in my head about the correct spelling, but it is good that the ES standard and MW agree.

The error message is, however, still misleading:

TypeError: Invalid property. A property cannot both have accessors and be writable or have a value

The problem is not that the descriptor is specifying that the property should be writable (it is specifying that it should not be writable with the ":false"), but that it mentions writability at all. See 8.10.5 section 9a. Suggestion:

TypeError: Invalid property descriptor. A property descriptor cannot both have accessors and specify the value or writability of the property

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


Reply via email to