summaryrefslogtreecommitdiff
path: root/test/files/neg/matthias2.scala
blob: ab9296798f6f3143627b79ca6b827413e925c012 (plain) (blame)
1
2
3
4
5
6
7
8
class A() {
    val x: A = this;
    val y: x.type = x;
    type T = y.type;
}
abstract class B() extends A() {
    override val y: T;
}