Closed
Bug 498555
Opened 16 years ago
Closed 16 years ago
TM: Wrong value with for...each, let, uneval
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 498236
People
(Reporter: gkw, Unassigned)
Details
(Keywords: testcase)
v = 0;
for each(let d in [0, '', 0x80000000, '', 0x80000000]) {
d >>>= (let(b)(b))
print((v += d), (v--))
}
print(uneval(this))
(This does not seem to affect 1.9.1 branch) Note the different output between -j and no -j below:
$ ~/Desktop/tm-28982-568959fa4956/js-dbg-tm-intelmac
js> v = 0;
0
js> for each(let d in [0, '', 0x80000000, '', 0x80000000]) {
d >>>= (let(b)(b))
print((v += d), (v--))
}
0 0
-1 -1
2147483646 2147483646
2147483645 2147483645
4294967292 4294967292
js> print(uneval(this))
({v:4294967291})
js>
$ ~/Desktop/tm-28982-568959fa4956/js-dbg-tm-intelmac -j
js> v = 0;
0
js> for each(let d in [0, '', 0x80000000, '', 0x80000000]) {
d >>>= (let(b)(b))
print((v += d), (v--))
}
0 0
-1 -1
2147483646 2147483646
2147483645 2147483645
-4 -4
js> print(uneval(this))
({v:-5})
Flags: blocking1.9.2?
| Reporter | ||
Comment 1•16 years ago
|
||
gal says to dupe this to bug 498236.
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: blocking1.9.2? → in-testsuite?
Resolution: --- → DUPLICATE
Comment 2•13 years ago
|
||
Bug in removed tracer code, setting in-testsuite- flag.
Flags: in-testsuite? → in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•