[#493] | project: nsc | priority: low | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Iulian | Martin | fixed | 2005-11-17 18:46:46.0 | |
subject | worng routing of super calls (2) -- inside patterns | |||
code |
class Base { def foo = (); } class A extends Base { def m(f: => Unit) = { } def n = { val x = List(1, 2, 3); x match { case Nil => m { super.foo } } } } |
|||
what happened | final |
|||
what expected | a forwarding method in A, and the closure to call that method. | |||
[back to overview] |
Martin edited on 2005-11-21 13:45:37.0 |