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

12 lines
181 B
Plaintext

class A {
callSuperToString { super.toString }
toString { "A.toString" }
}
class B is A {
construct new() {}
}
IO.print(B.new().callSuperToString) // expect: instance of B