[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 19:09:10 UTC 2022


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

--- Comment #5 from Ruby The Roobster <rubytheroobster at yandex.com> ---
(In reply to kinke from comment #4)
> (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

Okay.  Now I see why this isn't a bug.

--


More information about the Digitalmars-d-bugs mailing list