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

Dennis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Dennis <[email protected]> ---
Reduced to avoid `foreach` lowering:

```
void main()
{
    ubyte[] a = [1u];
    ulong i = 0;
    for (;;)
    {
        ubyte x = a[i];
        ubyte v = x >= 1 ? 255 : 0;
        assert(cast(int)v == 255);
    }
}
```

--

Reply via email to