Updates:
Cc: [email protected] [email protected]
Comment #1 on issue 4336 by [email protected]: Function literal constant
does not respect strict mode on first compile.
https://code.google.com/p/v8/issues/detail?id=4336
My theory is that the first time we parse the function literal, we haven't
parsed the 'use strict' string in the function body yet, so we assume
sloppy mode. The second time we parse the function literal, we know it's
strict from the scope info.
I don't know what effect that eval has though. Without the eval or the
brackets around f, this does not happen.
--
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.