Closed Bug 379523 Opened 16 years ago Closed 15 years ago

Mysterious comma in decompilation of sharp declaration

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

js> function () { return #1=[a]; }   
function () {
    return #1=[, a];
}

js> function () { return #1={a:b}; } 
function () {
    return #1={, a:b};
}

The first is incorrect, since it changes the size of the array.  The second doesn't even compile.
This appears to have been fixed in the interim.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Flags: in-testsuite?
I fixed this as part of bug 376957 but apparently forgot to mark the fix as such.  (Dangit, I still need to write that let-expression fix for the remaining regression from that, don't I?)
Depends on: 376957
Resolution: WORKSFORME → FIXED
/cvsroot/mozilla/js/tests/js1_5/extensions/regress-379523.js,v  <--  regress-379523.js
initial revision: 1.1
Flags: in-testsuite? → in-testsuite+
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.