digitalmars.D.bugs - [Issue 13950] New: [REG2.062] zero-length tuple does not work on
- via Digitalmars-d-bugs (23/23) Jan 07 2015 https://issues.dlang.org/show_bug.cgi?id=13950
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 puremagic.com Reporter: k.hara.pg 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(); } --
Jan 07 2015