www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 554] New: Division by zero results in two identical errors

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=554

           Summary: Division by zero results in two identical errors
           Product: D
           Version: 0.174
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: diagnostic
          Severity: trivial
          Priority: P5
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: deewiant gmail.com


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.


-- 
Nov 18 2006
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=554


deewiant gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from deewiant gmail.com  2006-12-03 03:33 -------
Fixed in DMD 0.176.


-- 
Dec 03 2006