Hi,
Given a class definition like this
class Foo: object
construct( length ) {
vector = new Vector( length );
}
;
how do I get rid of this warning?
Is there a way to specify a property “to be filled in later?”
Hi,
Given a class definition like this
class Foo: object
construct( length ) {
vector = new Vector( length );
}
;
how do I get rid of this warning?
Is there a way to specify a property “to be filled in later?”
just add the following line of code to the Foo class but outside of the construct method
vector = nil
that will define the symbol and stop that warning.