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

           Summary: DMD doesn't parse valid PostfixExpression .
                    NewExpression syntax.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Bruno Medeiros <[email protected]> 2013-03-05 
04:21:41 PST ---
The following is valid source according to the grammar (and is sensible code),
but DMD doesn't parse it:

class Xpto {

    class Inner {
    }
}
Xpto xpto;


void func() {
    auto x = (xpto).new Inner(); // Doesn't parse
}

auto x = (xpto).new Inner(); // Doesn't parse

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

Reply via email to