[Issue 22410] New: [REG2.094] function with tuple parameter with default argument fails if there's a qualifier
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 17 15:50:35 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22410
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 at puremagic.com
Reporter: boris2.9 at gmail.com
test case:
---
alias A(T...) = T;
void fun(const A!(int, string) x = A!(1, "asdf"))
{
}
---
Output:
Error: forward reference to type (const(int), const(string))
--
More information about the Digitalmars-d-bugs
mailing list