[Issue 20356] New: exceeding template expansion limits

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Nov 5 11:31:51 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=20356

          Issue ID: 20356
           Summary: exceeding template expansion limits
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: rschadek at symmetryinvestments.com

When I compare a certain struct in one of my code bases I get a "recursive
expansion" error in dtemplate.d:7249

But this is false. I just hit the limit of 300 allowed nestings.
300 seems to be arbitrary, and all other limits I could find are set to 500.

I have a PR already in the works, that makes my code compile.

--


More information about the Digitalmars-d-bugs mailing list