blob: 8d4c3ee0605625271dc1b52568134c0fdf16eebb (
plain) (
tree)
|
|
@deprecated("Suppress warnings", since="2.11")
object Test extends App {
class X[T: ClassManifest] {
val a = Array.ofDim[T](3, 4)
}
val x = new X[String]
x.a(1)(2) = "hello"
assert(x.a(1)(2) == "hello")
}
|