Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting ?: operator inside ?? #589

Closed
arakov opened this issue Jul 9, 2023 · 1 comment
Closed

Supporting ?: operator inside ?? #589

arakov opened this issue Jul 9, 2023 · 1 comment
Labels
Feature request New language feature
Milestone

Comments

@arakov
Copy link
Member

arakov commented Jul 9, 2023

The following code must be supported by the compiler:

public program()
{
   var o := nil;

   var r := o.?test() ?? 0;
}
@arakov arakov added the Feature request New language feature label Jul 9, 2023
@arakov arakov added this to the ELENA 6.0 milestone Jul 9, 2023
@arakov
Copy link
Member Author

arakov commented May 5, 2024

Done in ELENA 6.0.10

@arakov arakov closed this as completed May 5, 2024
@arakov arakov mentioned this issue May 7, 2024
3 tasks
arakov added a commit that referenced this issue May 7, 2024
* [ADDED] #635 : new entry point to invoke the functionality from another program
* [ADDED] ecv-cli : adding a filter for listing members
* [FIXED] aarch64 : xstorefir opcode
* fixing xstorefir
* aarch64 assembler : supporting MOVN
* #635 : working on second example calc
* fixing ppc64le open opcode
* [ADDED] new option : auto-preloaded module extension
* [FIXED] reducing the total size of an executable (almost by half) by ignoring module extensions by default
* [FIXED]toJson extension
* [FIXED]try statement does not allocate an exception
* [FIXED]toJson extension
* [FIXED] #401 - += operator with array
* [FIXED] #488 : Declaring auto struct variable
* [FIXED] #522 : single dispatch variadic message
* [ADDED] #646 : Calling own method directly without target
* [FIXED] #630 : 64bit GC routine - expanding header
* [FIXED] x86-64 : calling from external
* [ADDED] chat sample
* [FIXED] #608 : single dispatch for constructors
* [ADDED] #651 : Template Expression - typecasting
* [ADDED]a static method must have an access to private methods
* fixing exprtree1 tutorial sample
* [FIXED] #504 : Support an array operation with external function arguments
* [FIXED] #589 : Supporting ?: operator inside ??
* [ADDED] #569 : Ignoring order of declaration
* #601 : optimize: if (nil == name) {} else {}
* IDE : fixing background issue
* [FIXED]elt-cli : fixing support for extension methods
* [FIXED] xhookdpr for x86-64 mode
* x86-64 : fixing elenavm & elt
* [ADDED] syntax highlighting
@arakov arakov mentioned this issue May 7, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New language feature
Projects
None yet
Development

No branches or pull requests

1 participant