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

           Summary: typeof({return 1;}()) declaration fails if inside main
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: simen.end...@pandavre.com


--- Comment #0 from simendsjo <simen.end...@pandavre.com> 2010-08-12 07:43:37 
PDT ---
typeof({return 1;}()) a; // ok

void main()
{
  typeof({return 1;}()) b; // found 'b' when expecting ';' following statement 
}

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

Reply via email to