[Issue 13950] New: [REG2.062] zero-length tuple does not work on function default argument
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Jan 7 18:58:35 PST 2015
https://issues.dlang.org/show_bug.cgi?id=13950
Issue ID: 13950
Summary: [REG2.062] zero-length tuple does not work on function
default argument
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: rejects-valid
Severity: regression
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: k.hara.pg at gmail.com
template Tuple(T...) { alias T Tuple; }
// ok in 2.061, fails from 2.062
void f1(int x = 0, Tuple!() xs = Tuple!()) {}
void main()
{
f1();
}
--
More information about the Digitalmars-d-bugs
mailing list