https://issues.dlang.org/show_bug.cgi?id=12086

--- Comment #2 from safety0ff.bugz <[email protected]> ---
(In reply to safety0ff.bugz from comment #1)
> I think this is a combination of a documentation bug and a remove bug:
> The documentation bug is that it should accept any range of indices with
> length 1 or 2.
> Currently it is only documented that tuples of length 2 should be accepted,
> but I don't see why tuples should be special.

Reflecting about this I realised that it is error prone, so tuples should be
the only way to specify a range of indices.
I think to fix this a relatively short deprecation cycle should be introduced
to avoid breaking code.

--

Reply via email to