December 30, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=773

           Summary: Redundant "Error: " in std.conv.ConvError
           Product: D
           Version: 0.178
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: diagnostic, patch
          Severity: trivial
          Priority: P5
         Component: Phobos
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: deewiant@gmail.com


std.conv.ConvError looks like the following:

class ConvError : Error
{
    this(char[] s)
    {
        super("Error: conversion " ~ s);
    }
}

Since "Error: " is output in internal.dmain2 anyway, having it in the constructor as well makes for ugly error messages like "Error: Error: conversion foo". Instead, just have:

class ConvError : Error
{
    this(char[] s)
    {
        super("conversion " ~ s);
    }
}


-- 

January 04, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=773


bugzilla@digitalmars.com changed:

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




------- Comment #1 from bugzilla@digitalmars.com  2007-01-03 22:54 -------
Fixed DMD 1.00


--