http://d.puremagic.com/issues/show_bug.cgi?id=9536
Summary: IFTI fails when calling a static member from const member Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: nilsboss...@googlemail.com --- Comment #0 from Nils <nilsboss...@googlemail.com> 2013-02-19 09:37:47 PST --- --- cat > test.d <<code struct S { static void x(A)(A a) { } void y() const { x(42); } } code dmd -c -o- test.d --- test.d(5): Error: template test.S.x does not match any function template declaration. Candidates are: test.d(2): test.S.x(A)(A a) test.d(5): Error: template test.S.x(A)(A a) cannot deduce template function from argument types !()(int) --- Fails since 2.059. I suspect that x is checked for const. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------