Thread overview
[Issue 1651] New: .di file generated with -H switch does not translate function() arguments correctly
Nov 09, 2007
d-bugmail
Nov 09, 2007
d-bugmail
Nov 09, 2007
d-bugmail
Dec 05, 2007
d-bugmail
November 09, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1651

           Summary: .di file generated with -H switch does not translate
                    function() arguments correctly
           Product: D
           Version: 2.007
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: wrong-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: schveiguy@yahoo.com


When specifying -H switch for a function/class that looks like:

void f(void function() f2);

the .di file contains:

void f(void function()* f2);

which will not allow compilation.


-- 

November 09, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1651





------- Comment #1 from schveiguy@yahoo.com  2007-11-08 21:51 -------
Created an attachment (id=206)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=206&action=view)
code that demonstrates problem


-- 

November 09, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1651


schveiguy@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         OS/Version|Windows                     |All




------- Comment #2 from schveiguy@yahoo.com  2007-11-09 08:41 -------
Just checked this on Linux.  Has the same problem.


-- 

December 05, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1651


bugzilla@digitalmars.com changed:

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




------- Comment #3 from bugzilla@digitalmars.com  2007-12-04 23:36 -------
Fixed dmd 2.008


--