http://d.puremagic.com/issues/show_bug.cgi?id=8316
Summary: Regression with template functions Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: m...@paranoici.org --- Comment #0 from meh. <m...@paranoici.org> 2012-06-29 09:53:16 PDT --- The code: --- import std.stdio; void lol(string wat) () { writeln(wat); } void lol(string wat) (string omg) { writeln(wat, " ", omg); } void main () { lol!"rulez"; } --- The error: --- lol.d(15): Error: template lol.lol matches more than one template declaration, lol.d(3):lol(string wat) and lol.d(8):lol(string wat) --- I'm too lazy to find the commit, I'm sure you'll know better than me. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------