summaryrefslogblamecommitdiff
path: root/test/files/pos/scoping2.scala
blob: 39f3ef5f0ecd1eb2b2c44ffbbc42105052d57ae9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                               
object That {
     trait A {
         type T <: I;
         trait I {}
     }
     trait B {
     	type T <: J;
     	trait J {}
     }
     trait C extends A with B {
         type T <: I with J;
     }
}