summaryrefslogblamecommitdiff
path: root/test/files/pos/t1459/App.scala
blob: 36e5022e94d837a5bfc39d6fb888abe6e93c6a9c (plain) (tree)
1
2
3
4


             
                              













                                                                                      
package foo
import base._

object App extends scala.App {
  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)
}