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

Overriding property set accessor #623

Closed arakov closed 7 months ago

arakov commented 9 months ago

Describe the bug It is not possible to override property set accessor

To Reproduce (See forms'BaseWinControl)

string Caption
{
    set(string s)
    {
       _caption := s;
    }

    set(wide s)
    {
       _caption := string cast(s);
    }
}

Expected behavior It has to be possible to override property set accessor

arakov commented 7 months ago

Fixed in ELENA 6.0.7