blob: 651b285b17cc1cf133705ad98bbef4dcc3bafe80 (
plain) (
tree)
|
|
package foo
import base._
object App extends Application {
class Concrete extends AbstractBase {
override def doStuff(params:java.lang.String*): Unit = println("doStuff invoked")
}
val impl = new Concrete
//succeeds
impl.doStuff(null)
val caller = new Caller
// fails with AbstractMethodError
caller.callDoStuff(impl)
}
|