When running the following code:
object Fruit{
private string name;
func Fruit(string name){
this.name = name;
}
func getName() return this.name;
}
Fruit apple = new Fruit("Apple");
The program crashes. Potential error may occur with the constructor parameters.
Known location: https://github.com/CondorLang/Condor/blob/master/src/condor/execute/execute.cc#L122
When running the following code:
The program crashes. Potential error may occur with the constructor parameters.
Known location: https://github.com/CondorLang/Condor/blob/master/src/condor/execute/execute.cc#L122