[Issue 3276] New: Mutual recursion broken in type templates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Aug 31 15:52:51 PDT 2009


           Summary: Mutual recursion broken in type templates
           Product: D
           Version: 2.032
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bartosz at relisoft.com

Created an attachment (id=442)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=442)
bug example

Recursion in templates works, but mutual recursion doesn’t. I’m attaching this
example—it can’t be reduced much further. Each part of it works separately, but
once they start recursing into each other, I get the error:

small.d(3): Error: alias small.F!(void*).StripPtr recursive alias declaration

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

More information about the Digitalmars-d-bugs mailing list