blob: d795922e0c691b4aa7e5fd059f77dd0573581ef6 (
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
|