blob: 3263701f9daaaab65a6b85376c0735edf0fea9ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class LM {
class Node[B1]
case class CC(n: LM)
// crash
val f: (LM => Any) = {
case tttt =>
val uuuu: (tttt.type, Any) = (tttt, 0)
new uuuu._1.Node[Any]()
}
}
object Test extends App {
new LM().f(new LM())
}
|