https://issues.dlang.org/show_bug.cgi?id=19015
Georgy Markov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Georgy Markov <[email protected]> --- Works if opSlice is implemented as a template: auto ref opSlice(size_t dim)(size_t start, size_t end) if (dim == 0) According to reference, it should work as it is: > If only one-dimensional slicing is desired, opSlice may be declared without > the compile-time parameter. --
