Thread overview
[Issue 14553] The return types of std.array.array for narrow strings conflicts with its documentation
Mar 31, 2018
Seb
Jul 23, 2022
Daraban Timotei
Jul 25, 2022
RazvanN
June 30, 2015
https://issues.dlang.org/show_bug.cgi?id=14553

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--- Comment #1 from hsteoh@quickfur.ath.cx ---
The question is, should we change the code to copy the qualifiers to the returned dchar[], or should we fix the docs to match the code?

I'm not sure why it's important to keep the qualifiers if we're creating a new array anyway. Why not keep the code as-is and ensure that it's pure, so that the returned array can be implicitly cast to whatever qualifiers the user wants?

--
March 31, 2018
https://issues.dlang.org/show_bug.cgi?id=14553

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bootcamp
                 CC|                            |greensunny12@gmail.com

--
July 23, 2022
https://issues.dlang.org/show_bug.cgi?id=14553

Daraban Timotei <daraban_timotei@tutanota.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |daraban_timotei@tutanota.co
                   |                            |m
         Resolution|---                         |INVALID

--- Comment #2 from Daraban Timotei <daraban_timotei@tutanota.com> ---
Documentation has changed and no longer conflicts with return types.

--
July 25, 2022
https://issues.dlang.org/show_bug.cgi?id=14553

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|INVALID                     |FIXED

--