Files
wren/test/language/super/no_superclass_method.wren
2015-09-01 08:16:04 -07:00

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