Updates:
        Status: Fixed

Comment #3 on issue 1583 by [email protected]: Incorrect scope chain for hoisted functions in optimizing compiler.
http://code.google.com/p/v8/issues/detail?id=1583

Fix was recommitted in r8858 with a partial fix for the rather thorny Function API issue.

The issue is that we parse functions and record their name (empty for anonymous). The API allows an embedder to set a function name after parsing, but before (lazy or re-) compilation.

Clearing the name or changing it for a named function expression, or adding one to an anonymous function expression, will all cause problems.

We should strongly consider removing Function::SetName from the API.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to