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



--- Comment #5 from Andrej Mitrovic <[email protected]> 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: -------

Reply via email to