[Webkit-unassigned] [Bug 19044] SquirrelFish: Bogus values enter evaluation when closing over scope with parameter and var with same name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 14 11:57:42 PDT 2008


------- Comment #7 from cwzwarich at uwaterloo.ca  2008-05-14 11:57 PDT -------
(In reply to comment #6)
> > Except that's wrong, because it still has the wrong behaviour with f.arguments.
> Can you elaborate on this?

I thought that something like this would go wrong:

function f()
    g.arguments[0] = "PASS";

function g(a)
    var a = "FAIL";


However, it seems that it doesn't cause a problem, so my apologies. Anyways, I
have a patch that fixes the problem by changing codegen, so I'll post it.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list