forked from Mirror/wren
9 lines
181 B
Plaintext
9 lines
181 B
Plaintext
class Base {}
|
|
|
|
class Derived is Base {
|
|
construct new() {}
|
|
foo { super.doesNotExist(1) } // expect runtime error: Base does not implement 'doesNotExist(_)'.
|
|
}
|
|
|
|
Derived.new().foo
|