On Monday, 10 November 2014 at 08:29:40 UTC, Don wrote:
stack-allocked array (otherwise stack allocated arrays are useless). Eg you should be able to pass a slice of a stack array to writefln().

Detecting if the slice is returned, requires flow analysis. Currently the front-end doesn't do any flow analysis at all, except for a couple of special cases like closures and super() calls.

Ceterum censeo ...
http://wiki.dlang.org/User:Schuetzm/scope

Reply via email to