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

           Summary: Stack overflow while initializing struct member with
                    address of one of its methods
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: 2kor...@gmail.com


--- Comment #0 from Koroskin Denis <2kor...@gmail.com> 2010-10-02 21:45:09 PDT 
---
struct Foo
{
    void bar()
    {
    }

    void delegate() dg = &Foo.init.bar;
}

# dmd test.d
Stack overflow

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

Reply via email to