[Issue 5301] New: Types in expressions are not fully documented.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 1 05:54:52 PST 2010


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 at puremagic.com
        ReportedBy: blood.of.life at gmail.com


--- Comment #0 from Bernard Helyer <blood.of.life at gmail.com> 2010-12-01 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: -------


More information about the Digitalmars-d-bugs mailing list