August 12, 2010
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: nobody@puremagic.com
        ReportedBy: simen.endsjo@pandavre.com


--- Comment #0 from simendsjo <simen.endsjo@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: -------
June 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=4633


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras@gmail.com


--- Comment #1 from yebblies <yebblies@gmail.com> 2011-06-15 11:48:33 PDT ---
*** Issue 5186 has been marked as a duplicate of this issue. ***

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