[Issue 22587] ternary with function call and assert(0) leads to cod1 assertion

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 17 17:43:11 UTC 2021


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

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

--


More information about the Digitalmars-d-bugs mailing list