Thread overview
[Issue 21805] Allow trinary expression in types
Apr 06, 2021
Bolpat
Apr 06, 2021
Bolpat
Dec 17, 2022
Iain Buclaw
[Issue 21805] Allow conditional expression in types
Dec 16, 2023
Basile-z
Dec 31, 2023
Danil Sidoruk
Dec 31, 2023
Danil Sidoruk
April 06, 2021
https://issues.dlang.org/show_bug.cgi?id=21805

--- Comment #1 from Bolpat <qs.il.paperinik@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.

--
April 06, 2021
https://issues.dlang.org/show_bug.cgi?id=21805

Bolpat <qs.il.paperinik@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qs.il.paperinik@gmail.com

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=21805

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
December 16, 2023
https://issues.dlang.org/show_bug.cgi?id=21805

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b2.temp@gmx.com
            Summary|Allow trinary expression in |Allow conditional
                   |types                       |expression in types

--
December 31, 2023
https://issues.dlang.org/show_bug.cgi?id=21805

Danil Sidoruk <danilsidoruknv@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |danilsidoruknv@yandex.ru
           Assignee|nobody@puremagic.com        |danilsidoruknv@yandex.ru

--
December 31, 2023
https://issues.dlang.org/show_bug.cgi?id=21805

Danil Sidoruk <danilsidoruknv@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--