[Issue 20780] New: Function parameter UDA are not accepted in nested function declarations

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 28 09:54:34 UTC 2020


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

          Issue ID: 20780
           Summary: Function parameter UDA are not accepted in nested
                    function declarations
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

See  https://forum.dlang.org/thread/gbxpopfbibdmuxffyxzw@forum.dlang.org

test case

---
void main()
{
    struct  A;
    struct  B;
    alias   V = void;
    alias   I = int;
    V    test0(@A I)        {}
    V    test1(@A @(B) I)   {}
    V    test2(@A @B I)     {}
}
---

--


More information about the Digitalmars-d-bugs mailing list