Logo
Explore Help
Register Sign In
retoor/wren
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
a7e29fc9673c3f1394bcea7a3c95bc52d3ea6614
wren/test/super/indirectly_inherited.wren
T

19 lines
176 B
Plaintext
Raw Normal View History

feat: implement superclass method dispatch with new SUPER bytecodes and named call compiler
2013-12-13 16:37:49 +00:00
class A {
foo {
refactor: convert IO from singleton instance to static class with metaclass native methods
2013-12-22 03:25:09 +00:00
IO.write("A.foo")
feat: implement superclass method dispatch with new SUPER bytecodes and named call compiler
2013-12-13 16:37:49 +00:00
}
}
class B is A {}
class C is B {
foo {
refactor: convert IO from singleton instance to static class with metaclass native methods
2013-12-22 03:25:09 +00:00
IO.write("C.foo")
feat: implement superclass method dispatch with new SUPER bytecodes and named call compiler
2013-12-13 16:37:49 +00:00
super.foo
}
}
refactor: replace Foo.new constructor syntax with new Foo and simplify superclass constructor calls
2013-12-19 15:02:27 +00:00
(new C).foo
feat: implement superclass method dispatch with new SUPER bytecodes and named call compiler
2013-12-13 16:37:49 +00:00
// expect: C.foo
// expect: A.foo
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.27.2 Page: 158ms Template: 44ms
Dark
English
English
Licenses API