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

Ivan Kazmenko <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, ice-on-valid-code

--- Comment #3 from Ivan Kazmenko <[email protected]> ---
Actually, this compiles fine:

-----good1.d-----
int f (double a)
{
    a = a % 2;
    return a != 0;
}
-----

And this triggers an error:

-----bad1.d-----
int f (double a)
{
    return a % 2 != 0;
}
-----

--

Reply via email to