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)
Changeset 335
fixed dmd 2.040