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

--- Comment #2 from kdevel <[email protected]> ---
(In reply to kdevel from comment #0)
> $ dmd div.d
> $ ./div 1 2
> 1 / 2 = 2

dmd 2.100.2: bad

$ ./div 1 2
1 / 2 = 2

dmd 2.101.1 and newer: good

$ ./div 1 2
1 / 2 = 0


(In reply to Paul Backus from comment #1)
> Reduced:
>
> As of DMD 2.100.0, with -checkaction=context, this produces the following
> output:

Works since dmd 2.101.1.

--

Reply via email to