Use "construct" instead of "this" to define constructors.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Foo {
|
||||
this base() {}
|
||||
construct base() {}
|
||||
}
|
||||
|
||||
class Bar is Foo {}
|
||||
|
||||
Reference in New Issue
Block a user