summaryrefslogblamecommitdiff
path: root/test/files/neg/t588.scala
blob: f30937377eef0fdc8318c12c646ac261db47c0b2 (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;

}