| [#305] | project: compiler | priority: low | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Burak | Martin | open | 2004-03-10 12:31:47.0 | |
| subject | T* and overloading fails | |||
| code |
object testStar with Application {
def foo(is:int*) = 1;
def foo(i:int) = 2;
Console.println( foo( List(3):_* ) )
}
|
|||
| what happened | |
|||
| what expected | silent compilation, and 2 be printed at runtime.
This needs regular types... |
|||
| [back to overview] | ||||
| Burak edited on 2004-05-03 15:50:40.0 |
| reassign to Martin who maintains code for overloading resolution. |