www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15555] New: [Reg 2.070.0-b1] Hidden error cause by


          Issue ID: 15555
           Summary: [Reg 2.070.0-b1] Hidden error cause by
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: doob me.com

Compiling Tango with DMD 2.070.0-b1 causes the following error:

tango/text/xml/SaxParser.d(808,8): Error: class
tango.text.xml.SaxParser.SAXException use of object.Throwable.message() is
hidden by SAXException; use 'alias message = Throwable.message;' to introduce
base class overload set

The error is due to the new method "message" in Throwable, which is causing a
conflict with an already existing method in a subclass [1]. PR that added the
new method [2].


Jan 11 2016