http://d.puremagic.com/issues/show_bug.cgi?id=8623
Summary: Multiple function match needs to print file+line
numbers
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: trivial
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrej Mitrovic <[email protected]> 2012-09-05
16:22:55 PDT ---
alias int LONG;
void test(int* x) { }
void test(LONG* x) { }
void main()
{
test(null);
}
test.d(21): Error: function test.test called with argument types:
((typeof(null)))
matches both:
test.test(int* x)
and:
test.test(int* x)
This is a simple case but it would be useful to file+line info since it helps
me find codegenerator bugs. Error should be:
test.d(21): Error: function test.test called with argument types:
((typeof(null)))
matches both:
test.d(17): test.test(int* x)
and:
test.d(18): test.test(int* x)
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------