summaryrefslogblamecommitdiff
path: root/test/files/neg/t5839.check
blob: d4b125bd1e8ced552538421017f7166016d690bd (plain) (tree)
1
2
3
4
5
6





                                                     
t5839.scala:5: error: type mismatch;
 found   : (x: String => String)Int <and> (x: Int)Int
 required: Int => String
  val x: String = goo(foo _)
                      ^
one error found