Files
wren/test/super/indirectly_inherited.wren
Bob Nystrom b979272305 Clean up text handling a bit:
- Rename IO.write -> IO.print.
- Make IO.write not print a newline.
- Support \u Unicode escapes in strings.
2014-01-05 12:27:12 -08:00

19 lines
176 B
Plaintext

class A {
foo {
IO.print("A.foo")
}
}
class B is A {}
class C is B {
foo {
IO.print("C.foo")
super.foo
}
}
(new C).foo
// expect: C.foo
// expect: A.foo