Files
wren/test/language/super/call_other_method.wren

22 lines
286 B
Plaintext
Raw Normal View History

class Base {
foo {
System.print("Base.foo")
}
}
class Derived is Base {
construct new() {}
bar {
System.print("Derived.bar")
super.foo
}
}
Derived.new().bar
// expect: Derived.bar
// expect: Base.foo
// TODO: Super operator calls.
2013-12-20 07:05:31 -08:00
// TODO: Super setter calls.