October 28, 2016 CTFE divide by 0 prints the same error 3 times ! | ||||
|---|---|---|---|---|
| ||||
try this echo "enum a = 0/0;" > d.d && dmd d.d -main any reason for this ? | ||||
October 28, 2016 Re: CTFE divide by 0 prints the same error 3 times ! | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On 10/28/2016 07:37 AM, Basile B. wrote:
> try this
>
> echo "enum a = 0/0;" > d.d && dmd d.d -main
>
> any reason for this ?
One is too easy to miss, two is better, but three is just right. :o)
Must be an implementation oddity. Please file a bug.
Ali
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply