http://d.puremagic.com/issues/show_bug.cgi?id=3660
Summary: Templates and shared functions don't mix Product: D Version: 2.036 Platform: x86 OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: jason.james.ho...@gmail.com --- Comment #0 from Jason House <jason.james.ho...@gmail.com> 2009-12-31 19:27:50 PST --- Sample code: ========================= struct foo{ void bar(T)(T t){} void bar(T)(T t) shared {} } void main(){ foo x; x.bar(1); } ========================= Result with dmd 2.037: $ dmd test.d test.d(7): Error: template test.foo.bar(T) matches more than one function template declaration: bar(T) and: bar(T) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------