ELENA-LANG / elena-lang

ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
https://elena-lang.github.io/
MIT License
227 stars 23 forks source link

The field is not property incremented by an addition assignment #615

Closed arakov closed 2 months ago

arakov commented 9 months ago

Describe the bug The field is not property incremented by an addition assignment

To Reproduce

singleton Exceptions
{
   static int i;

   foo()
   {
         for(i := 0, i < 2, i  += 1)
         {
             console.printLine(i)
         }
    }    
}

Expected behavior The code should generate the list of numbers from 0 till 1

arakov commented 2 months ago

fixed in ELENA 6.0.9