blob: 1ec27e0ea4e6b49d52eddd5d1cc61120d6d34348 (
plain) (
tree)
|
|
class Test {
trait Q[T] {
def toArray[T](x: Array[T]): Array[T]
def toArray(): Array[T]
}
def crashTyper: Array[_] = {
val x : Q[_] = ???
x.toArray // crashes while doing overload resolution
}
}
|