Bug 16645 – 3 errors messages instead of 1 after CTFE divide by 0

Status
RESOLVED
Resolution
WORKSFORME
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-10-29T03:27:00Z
Last change time
2017-07-02T17:55:00Z
Keywords
CTFE, diagnostic
Assigned to
nobody
Creator
b2.temp

Comments

Comment #0 by b2.temp — 2016-10-29T03:27:51Z
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
Comment #1 by dlang-bugzilla — 2017-07-02T17:55:00Z