[Issue 14017] Assignment of a mutable array returned from non-`pure` function to `immutable` global variable is allowed
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Dec 16 18:52:26 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=14017
--- Comment #4 from Steven Schveighoffer <schveiguy at gmail.com> ---
To address the original statement as well, if f returns a character array, it
now compiles. And this is to be expected.
--
More information about the Digitalmars-d-bugs
mailing list