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

Supporting ?: operator inside ?? #589

Closed arakov closed 2 months ago

arakov commented 12 months ago

The following code must be supported by the compiler:

public program()
{
   var o := nil;

   var r := o.?test() ?? 0;
}
arakov commented 2 months ago

Done in ELENA 6.0.10