mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-16 20:28:04 +01:00
8 lines
178 B
Plaintext
8 lines
178 B
Plaintext
class Base {}
|
|
|
|
class Derived is Base {
|
|
foo { super.doesNotExist } // expect runtime error: Base does not implement method 'doesNotExist' with 0 arguments.
|
|
}
|
|
|
|
(new Derived).foo
|