Closed Bug 474639 Opened 16 years ago Closed 15 years ago

TM: "TypeError: can't convert Block to string"

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

let (a) {
    "" + function(){};
    for (let c = 0; c < 4; ++c) {
        "" + [this];
    }
}

With the JIT enabled, this results in "TypeError: can't convert Block to string".  With the JIT disabled, it does fine.

Please add assertions when fixing this, so future bugs of this type result in assertion failures (hard to miss) rather than nonsensical error messages (easy to miss).  I hit something like this once before in bug 464092.
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.