summaryrefslogtreecommitdiff
path: root/test/files/neg/t3653.check
blob: ad68e29fb49bee558c895fc0b5d5589db9ee8e31 (plain) (blame)
1
2
3
4
5
6
7
t3653.scala:3: error: double definition:
def x(i: Int): Int at line 2 and
def x(implicit x: Int): Int at line 3
have same type after erasure: (i: Int)Int
   def x(implicit x: Int) = 5
       ^
one error found