www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5301] New: Types in expressions are not fully documented.

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5301

           Summary: Types in expressions are not fully documented.
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Keywords: spec
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: nobody puremagic.com
        ReportedBy: blood.of.life gmail.com



05:53:23 PST ---
The following expressions are not permitted by the grammar as is:

// PrimaryExpression mentions basictype.identifier, but not basictype on its
own.
(int).sizeof
// And this is a full Type, not just a basic type.
(int*).sizeof

I'm guessing that a missing expression is 

( Type ) . Identifier

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Dec 01 2010
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5301


Bernard Helyer <blood.of.life gmail.com> changed:

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



04:46:59 PST ---
Well look at that. There it is in UnaryExpression. :o

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