www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1377] New: std.demangle unit test failure

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

           Summary: std.demangle unit test failure
           Product: D
           Version: 1.019
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: dvdfrdmn users.sf.net
 BugsThisDependsOn: 588


One change to std.demangle in DMD 1.019 is to add ", void *" to the argument
list of delegate/nested/member functions.  This makes one of the unit test
cases fail:

        [ "_D4test2dgDFiYd", "double delegate(int, ...) test.dg" ],


-- 
Jul 25 2007
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=1377


braddr puremagic.com changed:

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





Fixed in dmd 1.022 / 2.006.  The extra parameters shouldn't have been emitted
as they are the hidden this or context pointers of class member functions and
delegates.


-- 
Oct 28 2007