mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
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
|