Thread overview
[Issue 19015] arr[i..i] = c doesn't lower to a.opIndexAssign(c, a.opSlice(i, j))
Jul 17, 2021
Georgy Markov
Dec 17, 2022
Iain Buclaw
July 17, 2021
https://issues.dlang.org/show_bug.cgi?id=19015

Georgy Markov <ogion.art@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ogion.art@gmail.com

--- Comment #1 from Georgy Markov <ogion.art@gmail.com> ---
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.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=19015

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--
December 13
https://issues.dlang.org/show_bug.cgi?id=19015

--- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19447

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--