www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22410] New: [REG2.094] function with tuple parameter with


          Issue ID: 22410
           Summary: [REG2.094] function with tuple parameter with default
                    argument fails if there's a qualifier
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: boris2.9 gmail.com

test case:
alias A(T...) = T;

void fun(const A!(int, string) x = A!(1, "asdf"))

Error: forward reference to type (const(int), const(string))

Oct 17 2021