Skip to content

Object Constructor Crashes #13

Description

@chaseWillden

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions