Thread overview
[Issue 22383] Array of bottom types not recognized as a range
5 days ago
Ate Eskola
4 days ago
Dlang Bot
4 days ago
Dlang Bot
5 days ago
https://issues.dlang.org/show_bug.cgi?id=22383

Ate Eskola <Ajieskola@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Array of bottom types not   |Array of bottom types not
                   |recognizes as a range       |recognized as a range
                 OS|Linux                       |All
           Severity|enhancement                 |normal

--
5 days ago
https://issues.dlang.org/show_bug.cgi?id=22383

moonlightsentinel@disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |moonlightsentinel@disroot.o
                   |                            |rg

--- Comment #1 from moonlightsentinel@disroot.org ---
The underlying issue is that isAutodecodableString(noreturn[]) is currently true. This causes the referenced front and popFront to call the string decoding routines which reject noreturn[].

--
4 days ago
https://issues.dlang.org/show_bug.cgi?id=22383

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
@MoonlightSentinel created dlang/phobos pull request #8275 "Fix 22383 - Reject noreturn[] as an autodecodable string" fixing this issue:

- Fix 22383 - Reject noreturn[] as an autodecodable string

  `noreturn[]` does not contain characters and hence is not subject to
  autodecoding. The previous behaviour caused the range primitives (`put`,
  ...) to call into autodecoding related functions which couldn't handle
  `noreturn[]`.
  That error caused `isInputRange!(noreturn[])` to yield false.

https://github.com/dlang/phobos/pull/8275

--
4 days ago
https://issues.dlang.org/show_bug.cgi?id=22383

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #8275 "Fix 22383 - Reject noreturn[] as an autodecodable string" was merged into master:

- d90fc903d928a769ce72f0269fecc7e4d7ef8bba by MoonlightSentinel:
  Fix 22383 - Reject noreturn[] as an autodecodable string

  `noreturn[]` does not contain characters and hence is not subject to
  autodecoding. The previous behaviour caused the range primitives (`put`,
  ...) to call into autodecoding related functions which couldn't handle
  `noreturn[]`.
  That error caused `isInputRange!(noreturn[])` to yield false.

https://github.com/dlang/phobos/pull/8275

--