Closed NeilKleistGao closed 1 year ago
class C(a: int) { let a = 1 }
If there is a field a created in ctor, do not create #a and get a twice. let a = 1 will override the value from the ctor.
a
#a
get a
let a = 1
If there is a field
a
created in ctor, do not create#a
andget a
twice.let a = 1
will override the value from the ctor.