summaryrefslogtreecommitdiff
path: root/test/files/pos/t1459/App.scala
blob: 651b285b17cc1cf133705ad98bbef4dcc3bafe80 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)
}