Files
wren/test/language/super/implicit_name.wren

19 lines
221 B
Plaintext
Raw Normal View History

class Base {
foo {
System.print("Base.foo")
}
}
class Derived is Base {
construct new() {}
foo {
System.print("Derived.foo")
super
}
}
Derived.new().foo
// expect: Derived.foo
// expect: Base.foo