Comment #12 on issue 1942 by [email protected]: JavaScript Harmony freezes Google Maps
https://code.google.com/p/v8/issues/detail?id=1942

I was tracking down a bug today and found this thread while searching for similar error messages.

The error message was fairly strange to me: "SyntaxError: Identifier 'mb' has already been declared". Strange because I don't usually see javascript raise "Identifier" based exceptions.

Anyway, the bug ended up being a combination of Chrome's experimental javascript flag being enabled, strict mode and duplicate function declarations (2 customers raised bugs which surprised me given that a flag was required).

While tracking it down took some time, a reduction is very easy to create:
"strict mode";
function foobar(){}
function foobar(){}

From reading MDN and the most recent ECMAScript Harmony proposal, this doesn't seem to be correct for strict mode. Perhaps this is the same error that Yehuda ran into?

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

Reply via email to