[Issue 24784] New: Error on first lambda parameter with default with type inference

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 25 16:32:09 UTC 2024


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

          Issue ID: 24784
           Summary: Error on first lambda parameter with default with type
                    inference
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: qs.il.paperinik at gmail.com

Example:
```d
alias fp = (x = 0) { }; // Error: undefined identifier `x`
```

--


More information about the Digitalmars-d-bugs mailing list