[Issue 8838] Slicing static arrays should be considered unsafe (@system)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Nov 3 08:22:35 PST 2014
https://issues.dlang.org/show_bug.cgi?id=8838
--- Comment #14 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to yebblies from comment #8)
> This is not very easy, because the compiler lowers all static array
> assignment to slice assignment, making _every_ static array assignment
> unsafe. That needs to be fixed first, and requires extensive changes in the
> interpreter.
Can you just ban slicing that escapes the statement?
--
More information about the Digitalmars-d-bugs
mailing list