CTFE divide by 0 prints the same error 3 times !

Ali Çehreli via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 28 11:07:34 PDT 2016


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



More information about the Digitalmars-d-learn mailing list