[Issue 23297] You Can Assign a dstring to a dchar[] if Both Sides of the Expression are Slices

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 18 17:55:56 UTC 2022


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

kinke <kinke at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |kinke at gmx.net
         Resolution|---                         |INVALID

--- Comment #4 from kinke <kinke at gmx.net> ---
(In reply to anonymous4 from comment #2)
> I guess, documentation can be improved here, it mentions only array copy for
> static array and not for slices.

IMO fine: https://dlang.org/spec/arrays.html#array-copying

--


More information about the Digitalmars-d-bugs mailing list