www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3499] New: Forward reference error with typeof() on a function

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

           Summary: Forward reference error with typeof() on a function
           Product: D
           Version: 1.050
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: cbkbbejeap mailinator.com
            Blocks: 340


--- Comment #0 from Nick Sabalausky <cbkbbejeap mailinator.com> 2009-11-12
02:04:50 PST ---
---------------------
alias typeof(foo) T;
void foo() {}
---------------------

"Error: forward reference to foo"

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