Use "construct" instead of "this" to define constructors.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class A {}
|
||||
|
||||
class B is A {
|
||||
this new() {
|
||||
construct new() {
|
||||
super // expect error
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user