[Issue 9090] auto ref doesn't work with arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 7 11:34:45 PST 2012


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


dawg at dawgfoto.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dawg at dawgfoto.de


--- Comment #2 from dawg at dawgfoto.de 2012-12-07 11:34:41 PST ---
This also happens with ref and plain types.

----
void test1(ref const char[] val) {}
void main() {
    string a;
    test1(a);
}
----
void test1(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: -------


More information about the Digitalmars-d-bugs mailing list