[Issue 8515] New: [regression] calling function types with default args fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 6 14:56:07 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8515

           Summary: [regression] calling function types with default args
                    fails
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: spam at extrawurst.org


--- Comment #0 from Stephan Dilly <spam at extrawurst.org> 2012-08-06 14:56:05 PDT ---
this code used to work in dmd 2059:

void foo(bool c = true)
{}

void main()
{
    void function(bool c = true) _foo = &foo;

    _foo();
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list