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

9 lines
181 B
Plaintext
Raw Normal View History

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