[#304] | project: compiler | priority: medium | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Michel | Martin | fixed | 2004-03-09 16:58:44.0 | |
subject | Constant folder doesn't fold unary minus | |||
code |
object O { def f1 = -1; def f2 = 0-1; def f3 = f1 + f2; } |
|||
what happened | The constant folder didn't consider |
|||
what expected | A folded constant. | |||
[back to overview] |
Martin edited on 2004-04-16 15:13:17.0 |