On 2015/10/09 22:24:28, adamk wrote:
On 2015/08/04 09:47:36, rossberg wrote:
> https://codereview.chromium.org/1260053004/diff/20001/src/parser.cc
> File src/parser.cc (right):
>
>
https://codereview.chromium.org/1260053004/diff/20001/src/parser.cc#newcode4436
> src/parser.cc:4436: VariableMode fvar_mode = use_strict_const ? CONST :
> CONST_LEGACY;
> Wait, I thought the idea was that this should always be CONST. In which
case
you
> don't need to bother deferring the creation of the declaration.
Did this question get resolved? I happened to be looking at this code
today
and
found it very strange-looking. Anything that'd make it less strange seems
like
it'd be nice.
Actually, I resolved it myself. Even in ES6, this needs CONST_LEGACY-like
behavior, see https://code.google.com/p/v8/issues/detail?id=4482
https://codereview.chromium.org/1260053004/
--
--
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.