CondorLang / Condor

A fast, simple, and intelligent new programming language
BSD 3-Clause "New" or "Revised" License
34 stars 11 forks source link

Object Constructor Crashes #13

Open chaseWillden opened 7 years ago

chaseWillden commented 7 years ago

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

NemanjaMilosevic commented 7 years ago

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