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

           Summary: Segmentation fault with method overloading and alias
                    this
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: rob...@octarineparrot.com


--- Comment #0 from Robert Clipsham <rob...@octarineparrot.com> 2011-05-18 
19:38:10 BST ---
struct A
{
    static A a;
    alias a this;
}

struct B
{
    int opSlice(size_t, size_t);
    int opSlice(size_t, A);
}

void main()
{
    B b;
    b[0..A];
}

Causes a segmentation fault using the latest git. Possibly related to issue
#6029.

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

Reply via email to