https://issues.dlang.org/show_bug.cgi?id=24750
Nick Treleaven <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from Nick Treleaven <[email protected]> --- > compiles without complaint. > The error is detected if -dip1000 is used and the function is marked @safe. With dmd v2.109.0 (and recent git master) I get: os/retslice.d(7): Error: scope variable `slice` may not be returned --
