aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/selftypes.scala
blob: 243405f77d12a3842d46c76c4909a9308053357c (plain) (tree)



















                           
object selftypes {
  
  trait A { self: AB =>
    
    type AA = List[this.BX]
    
    class AX
    
  }
  
  trait B { self: AB =>
    
    type BB = AA
    
    class BX
  }
  
  class AB extends A with B

}