Condor
Condor copied to clipboard
Object Constructor Crashes
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
Hey not related to this issue,but just wanna say thats really cool what are you doing,really appreciate that. I am myself working on similar project, but unfortuantely i am not that good programmer as you are. Can learn so much from your implementation of programming language. I will take a look at your source code and maybe even contribute something :-D