https://d.puremagic.com/issues/show_bug.cgi?id=11769
Summary: Wrong line number in "matches both" error message Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hara...@gmail.com --- Comment #0 from Kenji Hara <k.hara...@gmail.com> 2013-12-18 20:33:59 PST --- This test case: template foo(T) // line 1 { void bar(wstring) {} // line 3 void bar(dstring) {} // line 4 } void main() { foo!string.bar("abc"); // line 8 } Current output: test.d(8): Error: test.foo!string.bar called with argument types (string) matches both: test.d(1): foo(T) and: test.d(1): foo(T) Expected output: test.d(8): Error: test.foo!string.bar called with argument types (string) matches both: test.d(3): bar(immutable(wchar)[] _param_0) and: test.d(4): bar(immutable(dchar)[] _param_0) -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------