[Issue 4983] New: Stack overflow while initializing struct member with address of one of its methods

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 2 21:45:27 PDT 2010


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: nobody at puremagic.com
        ReportedBy: 2korden at gmail.com


--- Comment #0 from Koroskin Denis <2korden at 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: -------


More information about the Digitalmars-d-bugs mailing list