Summary: "with" doesn't work with "alias this"
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Vladimir Panteleev <> 2011-09-22 
00:31:00 PDT ---
struct A { int i; }
struct B { A a; alias a this; }

B b;
static assert(is(typeof({
    with (b)

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to