[Issue 3429] New: Core dump on passing template literal to member function.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 20 18:22:14 PDT 2009


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

           Summary: Core dump on passing template literal to member
                    function.
           Product: D
           Version: 2.035
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dsimcha at yahoo.com


--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2009-10-20 18:22:13 PDT ---
struct Foo {
    void doStuff(alias fun)() {}
}

void main() {
    Foo foo;
    foo.doStuff!( (i) { return i; })();
}

-- 
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