http://d.puremagic.com/issues/show_bug.cgi?id=7529
Summary: IFTI does not support aliases Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: kyfo...@gmail.com --- Comment #0 from Kyle Foley <kyfo...@gmail.com> 2012-02-16 21:35:01 EST --- DMD 2.058 template Type(T) { alias T Type; } void f(T)(T, Type!(T)) {} void main() { f(0, 0); // fail f!(int)(0, 0); // success } --- .\ifti_alias.d(6): Error: template ifti_alias.f(T) does not match any function template declaration .\ifti_alias.d(6): Error: template ifti_alias.f(T) cannot deduce template function from argument types !()(int,int) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------