http://d.puremagic.com/issues/show_bug.cgi?id=7062
Summary: Void parameter errors with overloaded templates don't indicate instantiation location Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: thecybersha...@gmail.com --- Comment #0 from Vladimir Panteleev <thecybersha...@gmail.com> 2011-12-03 07:35:25 PST --- This program gives a "cannot have parameter of type void" at line 1, but no errors at the instantiation site (inside main): void f(T...)(T a) if (T.length > 1) {} void f(T)(T a) {} void g() {} void main() { f(g()); } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------