[Issue 17364] Difference between slicing a slice and a reference to a slice
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue May 2 09:12:19 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17364
anonymous4 <dfj1esp02 at sneakemail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |spec
--- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> ---
I'd say the array should be loaded before evaluation of slice arguments. For
example you can't resolve length before loading the array. So asserts should be
assert(r1 == [ 1 ]); assert(r2 == [ 1 ]);
How does it work with function pointers?
--
More information about the Digitalmars-d-bugs
mailing list