Bug 554 – Division by zero results in two identical errors

Status
RESOLVED
Resolution
FIXED
Severity
trivial
Priority
P5
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-11-18T06:16:00Z
Last change time
2014-02-15T13:19:03Z
Keywords
diagnostic
Assigned to
bugzilla
Creator
matti.niemenmaa+dbugzilla

Comments

Comment #0 by matti.niemenmaa+dbugzilla — 2006-11-18T06:16:15Z
int i = 1 / 0; Compilation causes: asdf.d(1): Error: divide by 0 asdf.d(1): Error: divide by 0 Only one error should be output.
Comment #1 by matti.niemenmaa+dbugzilla — 2006-12-03T03:33:06Z
Fixed in DMD 0.176.