[Issue 12189] "out" parameters should be allowed to modify immutable values in ctors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 18 04:08:32 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12189
timon.gehr at gmx.ch changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |timon.gehr at gmx.ch
--- Comment #1 from timon.gehr at gmx.ch 2014-02-18 04:08:29 PST ---
string[]* ms;
void initialize(out string[] v){
v = ["Hi!"];
ms = &v; // oops
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list