[Issue 1354] New: Can use function prototype in typedef and alias.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 20 13:32:41 PDT 2007


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

           Summary: Can use function prototype in typedef and alias.
           Product: D
           Version: 1.017
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: aziz.kerim at gmail.com


typedef int[] func(A,B,C)(int bla); // works with alias instead of typedef,
too.
func foo; // Error: variable foo cannot be declared to be a function
func* foo; // works


-- 



More information about the Digitalmars-d-bugs mailing list