overload-msg.scala:3: error: overloaded method value + with alternatives: (x: Double)Double (x: Float)Float (x: Long)Long (x: scala.Int)scala.Int (x: Char)scala.Int (x: Short)scala.Int (x: Byte)scala.Int (x: String)String cannot be applied to (Int(in method f)) def f[Int](y: Int) = x + y ^ one error found