[Issue 8064] return reference semantics not obeyed on delegates?
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 8 03:25:53 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8064
--- Comment #1 from Gašper Ažman <gasper.azman at gmail.com> 2012-05-08 03:27:13 PDT ---
Simplified testcase (by q66):
void main() {
uint[5] arry;
ref uint acc(size_t i) {
return arry[i];
}
auto arryacc = &acc;
arryacc(3) = 5; // same error
}
--
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