summaryrefslogblamecommitdiff
path: root/test/files/pos/compound.scala
blob: 60890f9102b9580c8042f42df617fb14231d1f57 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                
abstract class A { type T }

abstract class B { val xz: Any }

abstract class Test {
  var yy: A with B { type T; val xz: T } = null;
  var xx: A with B { type T; val xz: T } = null;
  xx = yy;
}