blob: 6d40b6ba8df884d819a1fa423992e7200d9774b1 (
plain) (
blame)
1
2
3
4
5
6
7
|
nsc> t9170/A.scala:3: error: double definition:
def f[A](a: => A): Int at line 2 and
def f[A](a: => Either[Exception,A]): Int at line 3
have same type after erasure: (a: Function0)Int
def f[A](a: => Either[Exception, A]) = 2
^
|