[#109] | project: compiler | priority: medium | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Erik | Martin | fixed | 2003-09-03 11:20:17.0 | |
subject | Lifted nested functions get wrong qualifier | |||
code |
class TC { private def nested(x: Int): Unit = { def g(x: Int): Unit = { g(x); } g(x); } def gg(x: Int): Unit = { gg(x); } > } |
|||
what happened | [[Trees after phase lambdalift]] // Scala source: tmp/test.scala class TC() extends scala.Object() { private def nested(x: scala.Int): scala.Unit = { |
|||
what expected | That the call to g$0 should be qualified with TC.this | |||
[back to overview] |
Martin edited on 2003-09-03 18:46:13.0 |