[Issue 12161] New: ICE with "with" and alias this

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 14 10:15:27 PST 2014


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

           Summary: ICE with "with" and alias this
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2014-02-14 20:15:22 EET ---
class A { void m(){} }

class B
{
    A a;
    alias a this;
}

void f(B b)
{
    with (b)
        m();
}

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


More information about the Digitalmars-d-bugs mailing list