http://d.puremagic.com/issues/show_bug.cgi?id=8075
Summary: Optional parameters should be able to refer to previous parameters Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: enhancement Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: wfunct...@hotmail.com --- Comment #0 from wfunct...@hotmail.com 2012-05-09 18:11:13 PDT --- void process(R)(R items, size_t maxCount = items.length) { } unittest { process([1, 2, 3]); } It would be great if this worked. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------