1 2 3 4 5 6
bug45.scala:4: type mismatch; found : scala.AllRef required: Int def foo[Int](x: Int): Int = null; ^ one error found