www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9649] New: DMD doesn't parse valid PostfixExpression . NewExpression syntax.

reply d-bugmail puremagic.com writes:
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: nobody puremagic.com
        ReportedBy: bdom.pub+deebugz gmail.com


--- Comment #0 from Bruno Medeiros <bdom.pub+deebugz gmail.com> 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: -------
Mar 05 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9649


Henning Pohl <henning still-hidden.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
                 CC|                            |henning still-hidden.de


--- Comment #1 from Henning Pohl <henning still-hidden.de> 2013-05-26 15:50:46
PDT ---
https://github.com/D-Programming-Language/dmd/pull/2081

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 26 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9649


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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