summaryrefslogblamecommitdiff
path: root/test/files/neg/t588.scala
blob: 1bc6d2680f4dfc63ae774087b9e5a83ae7542c5f (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                      
                                      
                                      



                                  
  

                             
  

               
  
 
abstract class Test0 {
  def visit(f: Int => Unit): Boolean  
  def visit(f: Int => String): Boolean
}
trait Test {
  type TypeA <: TraitA;
  type TypeB <: TypeA with TraitB;
  
  def f(node : TypeA) : Unit;
  def f(brac : TypeB) : Unit;
  
  trait TraitA;
  trait TraitB;
  
}