blob: 8e5eed62bd31d9ece9c3ef61bda7d5cbfd506377 (
plain) (
tree)
|
|
super-cast-or-test.scala:1: error: super not allowed here: use this.asInstanceOf instead
trait A { def f = super.asInstanceOf[AnyRef] }
^
super-cast-or-test.scala:2: error: super not allowed here: use this.isInstanceOf instead
trait B { def g = super.isInstanceOf[AnyRef] }
^
two errors found
|