[Issue 16645] New: 3 errors messages instead of 1 after CTFE divide by 0
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Oct 28 20:27:51 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16645
Issue ID: 16645
Summary: 3 errors messages instead of 1 after CTFE divide by 0
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: b2.temp at gmx.com
echo "enum a = 0/0;" > d.d && dmd d.d -main
prints:
> d.d(1): Error: divide by 0
> d.d(1): Error: divide by 0
> d.d(1): Error: divide by 0
--
More information about the Digitalmars-d-bugs
mailing list