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



--- Comment #3 from [email protected] 2012-12-07 11:42:23 PST ---
(In reply to comment #2)
> This also happens with ref and plain types.
>
Does an implicit const cast means to become an rvalue.
But still auto ref and implicit const cast doesn't work for integral types too.

void test1()(auto ref const char val) {}
void main() {
    immutable char a;
    test1(a);
}

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

Reply via email to