[Issue 7578] New: ICE on indexing result of vararg opDispatch

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 25 02:32:41 PST 2012


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

           Summary: ICE on indexing result of vararg opDispatch
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dawg at dawgfoto.de


--- Comment #0 from dawg at dawgfoto.de 2012-02-25 02:32:32 PST ---
cat > bug.d << CODE
struct Foo
{
    static int[] opDispatch(string op, Args...)(Args)
    {
        return [0];
    }
}

void foo()
{
    Foo.attrs[0] = 1;
}
CODE

dmd -c bug

----

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