Updates:
Labels: -Priority-Medium Priority-Low
Comment #14 on issue 3926 by [email protected]: Let/const in CaseBlock
https://code.google.com/p/v8/issues/detail?id=3926
@ #8: That example is different. What's special about switch is that it
allows you to jump past an initializer to code where the variable is still
in scope, but will remain uninitialised forever. (The only other situation
where such a zombie binding can arise is if you have a toplevel declaration
whose script is aborted with an exception before reaching it. Then
consecutive scripts can still see that declaration.)
FWIW, C++ makes s.th like this an error as soon as a constructor is
involved.
I'd love to make that an error in JS, too. Maybe it's worth bringing up
again. But we might have used up our complaint budget with the strict mode
thing.
--
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.