Files
wren/test/language/inheritance/do_not_inherit_static_methods.wren
T

8 lines
166 B
Plaintext
Raw Normal View History

2014-01-17 17:29:10 -08:00
class Foo {
static methodOnFoo { IO.print("foo") }
}
class Bar is Foo {}
Bar.methodOnFoo // expect runtime error: Bar metaclass does not implement 'methodOnFoo'.