[Issue 17148] Copying from const(void)[] to void[] breaks immutable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 14 11:44:02 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=17148

--- Comment #3 from Nick Treleaven <nick at geany.org> ---
> Probably void[] shouldn't be writable

Assuming only slice assignment can write to it, I think we can just disallow
copying from const(void)[]. That's what the pull does.

--


More information about the Digitalmars-d-bugs mailing list