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

--- Comment #3 from [email protected] ---
(In reply to ag0aep6g from comment #2)
> Reduced further:
> 
> ----
> bool check()
> {
>     bool result = false;
>     
>     result |= false;   // result = result | ... : OK
>     if (result) goto ret;     // remove this line       : OK
>     
>     result |= false;   // result = result | ... : OK
>     if (result) {}     // remove this line       : OK
>     
>     ret: return true;
> }
> 
> enum e = check();
> ----

OMG, Can someone fix this fast PLZ ? I don't know if you'll agree but this is
not some "super sharp" code, just a bunch of OrEqual !

--

Reply via email to