Closed Bug 352422 Opened 18 years ago Closed 17 years ago

Decompiler always uses braces for "with", even if it changes the meaning of a "let" declaration

Categories

(Core :: JavaScript Engine, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

Split from bug 352217.

js> function() { with({}) let x; }

function () {
    with ({}) {
        let x;
    }
}
Depends on: 408957
Fixed by making let |not| directly inside a block be a syntax error (bug 408957).
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
/cvsroot/mozilla/js/tests/public-failures.txt
new revision: 1.24; previous revision: 1.23

/cvsroot/mozilla/js/tests/js1_7/block/regress-352422.js
initial revision: 1.1
Flags: in-testsuite+
Flags: in-litmus-
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.