https://d.puremagic.com/issues/show_bug.cgi?id=12042

           Summary: "CTFE internal error: Dotvar assignment" with template
                    method and "with"
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: CTFE, ice, rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Vladimir Panteleev <[email protected]> 2014-01-30 
16:33:22 EET ---
struct S
{
    int[] t;

    void m()()
    {
        t = null;
    }
}

int f()
{
    S s;

    with (s)
        m!()();

    return 0;
}

enum e = f();

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

Reply via email to