summaryrefslogblamecommitdiff
path: root/test/files/neg/valueclasses-pavlov.check
blob: 17102a0c68d80b90f900c95f2dece4761a664eb2 (plain) (tree)
1
2
3
4
5
6
7
                                                      

                                        



                                               
valueclasses-pavlov.scala:8: error: double definition:
def foo(x: String): String at line 7 and
def foo(x: Box2): String at line 8
have same type after erasure: (x: String)String
  def foo(x: Box2) = "foo(Box2): ok"
      ^
one error found