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