Files
wren/test/language/super/no_superclass_method.wren
T

9 lines
181 B
Plaintext
Raw Normal View History

2014-04-19 11:51:36 -07:00
class Base {}
class Derived is Base {
2015-09-01 08:16:04 -07:00
construct new() {}
foo { super.doesNotExist(1) } // expect runtime error: Base does not implement 'doesNotExist(_)'.
2014-04-19 11:51:36 -07:00
}
2015-07-10 09:18:22 -07:00
Derived.new().foo