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
4018d42c39ffcfb6bb97b6fada78c5da040d3f70
wren/test/language/super/indirectly_inherited.wren
T

21 lines
206 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 {
feat: replace IO class with System class and remove separate IO module
2015-09-15 14:46:09 +00:00
System.print("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 {
fix: remove default constructors and require explicit construct new() for all user classes
2015-09-01 15:16:04 +00:00
construct new() {}
feat: implement superclass method dispatch with new SUPER bytecodes and named call compiler
2013-12-13 16:37:49 +00:00
foo {
feat: replace IO class with System class and remove separate IO module
2015-09-15 14:46:09 +00:00
System.print("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
}
}
feat: replace new keyword with this constructor syntax and ClassName.new() calls across core library and docs
2015-07-10 16:18:22 +00:00
C.new().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: 152ms Template: 8ms
Dark
English
English
Licenses API