[Issue 8838] Slicing static arrays should be considered unsafe (@system)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 17 16:47:14 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8838



--- Comment #4 from bearophile_hugs at eml.cc 2012-10-17 16:47:12 PDT ---
(In reply to comment #3)

> The code segment must be rejected, but what makes it unsafe is the escaping.
> Banning the slicing is not very precise.

Region analysis is not one of the design goals of D, unfortunately. But a
little of such analysis will be useful in the D front-end.

-- 
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