Thread overview
[Issue 22587] ternary with function call and assert(0) leads to cod1 assertion
Dec 17
mhh
Jan 09
mhh
December 17
https://issues.dlang.org/show_bug.cgi?id=22587

--- Comment #1 from mhh <maxhaton@gmail.com> ---
---
int front(int param)
{
    return param ? 1 : assert(0);
}
---
also triggers it

--
January 09
https://issues.dlang.org/show_bug.cgi?id=22587

--- Comment #2 from mhh <maxhaton@gmail.com> ---
More detail, seems to require -O to go boom

--
3 days ago
https://issues.dlang.org/show_bug.cgi?id=22587

kubo39@gmail.com <hinoda2002@outlook.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hinoda2002@outlook.jp

--- Comment #3 from kubo39@gmail.com <hinoda2002@outlook.jp> ---
*** Issue 22675 has been marked as a duplicate of this issue. ***

--