Condor icon indicating copy to clipboard operation
Condor copied to clipboard

Object Constructor Crashes

Open chaseWillden opened this issue 9 years ago • 1 comments

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

chaseWillden avatar Nov 03 '16 05:11 chaseWillden

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

NemanjaMilosevic avatar Nov 11 '16 12:11 NemanjaMilosevic