| [#328] | project: compiler | priority: high | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Michel | Philippe | fixed | 2004-05-06 13:52:09.0 | |
| subject | Wrong unboxing of arrays | |||
| code |
object Main {
def f[T1, T2](x: T1 => T2): Unit = ();
def main(args: Array[String]): Unit = {
f(args)
}
}
|
|||
| what happened | A |
|||
| what expected | A normal run. It seems that when passing the array to function f, it is passed unboxed, which is incorrect. |
|||
| [back to overview] | ||||
| Philippe edited on 2004-06-03 12:54:07.0 |
| Fixed method coerce in Erasure. |