[Issue 2883] [UFCS] array member call syntax fails when array is returned from "property" syntax
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Nov 19 05:13:24 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=2883
--- Comment #3 from Kenji Hara <k.hara.pg at gmail.com> 2011-11-19 05:12:32 PST ---
In 2.057head, following code works, by fixing bug 6927.
string getArray()
{ return "hello"; }
void useArray(string str)
{ /* stuff */ }
void main()
{
int i;
i = getArray().length; // OK
i = getArray.length; // OK
getArray().useArray(); // OK
getArray.useArray(); // 2.057head OK
}
--
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