[Issue 9631] Error message not using fully qualified name when appropriate.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 18 11:08:08 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9631



--- Comment #5 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-08-18 11:08:04 PDT ---
Here's another example:

test.d:

-----
module test;

import foo;

struct S { }

void main()
{
    test(S());
}
-----

-----
module foo;

struct S { }

void test(S s) { }
-----

test.d(9): Error: function foo.test (S s) is not callable using argument types
(S)

There used to be another error message here which would say "Cannot implicitly
convert type S to S", and *that* error message is the one that should really be
fixed, however Walter removed the message. I think it will eventually come back
though.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list