1 2 3 4 5 6 7 8 9
object sc { @deprecated("", "2.8.0") object Math } object Test { println(sc.Math) println(scala.Math) scala.Math.Pi }