blob: 3a1d7d581b2b0c82cb0e9e10a7393259acda9bf6 (
plain) (
tree)
|
|
Type in expressions to have them evaluated.
Type :help for more information.
scala>
scala> class M[@specialized T] { override def toString = "mmm" }
defined class M
scala> val m1 = new M[Int]()
m1: M[Int] = mmm
scala> val m2 = new M[Float]()
m2: M[Float] = mmm
scala> val m3 = new M[String]()
m3: M[String] = mmm
scala>
|