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: [email protected]
          Reporter: [email protected]

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

--

Reply via email to