aboutsummaryrefslogblamecommitdiff
path: root/tests/pickling/selftypes.scala
blob: 4bd0dd752b1e18395bf553d7b150b7a5046a31da (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

}