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

allow to omit middle operator in ternary condition (a.k.a. add ?: Elvis operator) #19330

Open
dlangBugzillaToGithub opened this issue Oct 21, 2017 · 1 comment

Comments

@dlangBugzillaToGithub
Copy link

Martin Nowak (@MartinNowak) reported this on 2017-10-21T13:55:37Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=17924

CC List

  • Patrick Schluter
  • RazvanN

Description

https://gcc.gnu.org/onlinedocs/gcc-4.2.4/gcc/Conditionals.html#Conditionals
https://en.wikipedia.org/wiki/Elvis_operator
@dlangBugzillaToGithub
Copy link
Author

razvan.nitu1305 commented on 2017-10-25T06:32:26Z

PR : https://github.com/dlang/dmd/pull/7242

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants