[Issue 9410] Wrong selection for function overload
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 27 09:31:15 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9410
--- Comment #2 from rswhite4 at googlemail.com 2013-01-27 09:31:13 PST ---
This also fails.
Error: A() is not an lvalue
[code]
import std.stdio;
struct A { }
void foo(const A a, float r) {
}
void foo(ref A a, float r) {
}
void main()
{
foo(A(), 12);
}
[/code]
_That_ is strange.
--
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