[Issue 1699] New: unexpected identifer in declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Nov 29 16:12:32 PST 2007


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

           Summary: unexpected identifer in declaration
           Product: D
           Version: 2.008
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: ddparnell at bigpond.com


The following line does not compile 

  const(const(int*) f()){}

It fails with the messages ...

  : unexpected identifer 'f' in declarator
  : no identifier for declarator const(int*)()


-- 



More information about the Digitalmars-d-bugs mailing list