Closed
Bug 438675
Opened 18 years ago
Closed 17 years ago
Postfix and prefix operators are wonky again
Categories
(Tamarin Graveyard :: Self-hosting compiler (ESC), defect)
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: lhansen, Assigned: lhansen)
Details
Regression from the bad old days. Test case:
es> var x = [0]
es> x[0]++
es> print(x[0])
0
es> x[0] += 1
es> print(x[0])
1
es> var y = [0]
es> y[0]++
es> print(y)
0,0
Obviously the second element should not be there.
| Assignee | ||
Comment 1•18 years ago
|
||
The code in cgUnaryExpr is completely wrong for this case -- not even in the vicinity of correct. See cgSetObjectRefExpr for more appropriate code.
| Assignee | ||
Updated•17 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•