https://issues.dlang.org/show_bug.cgi?id=18529
--- Comment #3 from anonymous4 <dfj1es...@sneakemail.com> --- --- int[]a=[0,1]; auto b = a[0..0]; a.length=0; a.assumeSafeAppend; assert(a[0..0] is b); --- Would this work? --
d-bugmail--- via Digitalmars-d-bugs Tue, 27 Feb 2018 00:59:28 -0800
https://issues.dlang.org/show_bug.cgi?id=18529
--- Comment #3 from anonymous4 <dfj1es...@sneakemail.com> --- --- int[]a=[0,1]; auto b = a[0..0]; a.length=0; a.assumeSafeAppend; assert(a[0..0] is b); --- Would this work? --