fork(3) download
  1. object Main extends App {
  2. override def main(args: Array[String]) {
  3. import scala.Predef.{Integer2int => _}
  4. implicit def Integer2int(x: java.lang.Integer) = "nonsense"
  5. val v: String = java.lang.Integer.valueOf(1)
  6. println(v)
  7. }
  8. }
Success #stdin #stdout 0.39s 382016KB
stdin
Standard input is empty
stdout
nonsense