| [#256] | project: compiler | priority: low | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Michel | Martin | fixed | 2003-12-09 15:20:39.0 | |
| subject | No eta-expansion performed in special cases | |||
| code |
object Main {
def f(x: Int): Int = 0;
def v: Unit = f;
def main(args: Array[String]): Unit = ();
}
|
|||
| what happened | The eta-expansion on |
|||
| what expected | A correct expansion. Or maybe a warning/error, as Buraq suggested once. | |||
| [back to overview] | ||||
| Martin edited on 2004-01-05 17:09:47.0 |