[Issue 370] New: Compiler stack overflow on recursive typeof in function declaration.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 26 05:21:27 PDT 2006


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

           Summary: Compiler stack overflow on recursive typeof in function
                    declaration.
           Product: D
           Version: 0.167
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: brunodomedeiros+bugz at gmail.com


Compiler stack overflow on recursive typeof in function declaration:
--------
void test( typeof(test) p) { }
----
Should give the error that test.p cannot be declared to be a function.


-- 




More information about the Digitalmars-d-bugs mailing list