blob: 5f55c9561914d0287613d5795f05b5c95b524e8f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
bug588.scala:3: error: double definition:
method visit:(f: (Int) => String)Boolean and
method visit:(f: (Int) => Unit)Boolean at line 2
have same type after erasure: (f: Function1)Boolean
def visit(f: Int => String): Boolean
^
bug588.scala:10: error: double definition:
method f:(brac: Test.this.TypeB)Unit and
method f:(node: Test.this.TypeA)Unit at line 9
have same type after erasure: (brac: Test#TraitA)Unit
def f(brac : TypeB) : Unit;
^
two errors found
|