[Webkit-unassigned] [Bug 18749] SQUIRRELFISH: const support is broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 27 21:00:39 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=18749


cwzwarich at uwaterloo.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|webkit-                     |cwzwarich at uwaterloo.ca
                   |unassigned at lists.webkit.org |




------- Comment #1 from cwzwarich at uwaterloo.ca  2008-04-27 21:00 PDT -------
To pass the layout tests, we only need to do the case of locals and this:

var object = { inWith1: "RIGHT", inWith2: ""}
with (object) {
    const inWith1 = "WRONG";
    const inWith2 = "RIGHT";
    inWith2 = "WRONG";
}
shouldBe("object.inWith1", "'RIGHT'");
shouldBe("inWith2", "'RIGHT'");

We also don't need to worry about something like this, because it's broken in
trunk:

const x = 1;
var x = 2;

const y = 1;
const y = 2;

I'm assigning this to myself.


-- 
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.
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list