[Issue 22039] New: ICE on infinite recursion in default parameter

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 18 17:54:31 UTC 2021


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

          Issue ID: 22039
           Summary: ICE on infinite recursion in default parameter
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ice, ice-on-invalid-code
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: elpenguino+D at gmail.com

```
int func(int x = func()) { return x; }
```
As of DMD 2.097, this results in `Error: unknown, please file report on
issues.dlang.org`.

--


More information about the Digitalmars-d-bugs mailing list