summaryrefslogblamecommitdiff
path: root/test/files/neg/bug588.scala
blob: bbb79ed79ebf4e7722d0b933bc902a591428fa24 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                      
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;

}