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



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

Reply via email to