[Issue 21805] Allow trinary expression in types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Apr 6 16:39:02 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=21805
--- Comment #1 from Bolpat <qs.il.paperinik at gmail.com> ---
Obvious semantics:
ConditionalType. The OrOrExpression is evaluated at compile-time. If it
evaluates to `true`, the Type expression results to the given BasicType, if it
evaluates to `false`, it results to the ConditionalType. If the evaluation
fails, it is an error.
--
More information about the Digitalmars-d-bugs
mailing list