Comment #5 on issue 3713 by [email protected]: Assignment to const
should not be an early error
https://code.google.com/p/v8/issues/detail?id=3713#c5
The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/a03943880c2a924d660569c39136ae611e3b5b3b
commit a03943880c2a924d660569c39136ae611e3b5b3b
Author: balazs.kilvady <[email protected]>
Date: Thu Nov 27 11:21:00 2014
MIPS: harmony-scoping: make assignment to 'const' a late error.
Port 6ac4de87a8b01500b066a3e401e921d2d84b42db
Original commit message:
Per TC39 Nov 2014 decision.
This patch also changes behavior for "legacy const": assignments to sloppy
const in strict mode is now also a type error. This fixes v8:2243 and also
brings us in compliance with other engines re assignment to function names
(see updated webkit test), but might have bigger implications.
That change can easily be reverted by changing
Variable::IsSignallingAssignmentToConst.
BUG=v8:3713,v8:2243
LOG=N
Review URL: https://codereview.chromium.org/766703002
Cr-Commit-Position: refs/heads/master@{#25541}
[modify]
http://crrev.com/a03943880c2a924d660569c39136ae611e3b5b3b/src/mips/full-codegen-mips.cc
[modify]
http://crrev.com/a03943880c2a924d660569c39136ae611e3b5b3b/src/mips64/full-codegen-mips64.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.