[Issue 22982] Can't copy scope range elements into a returned array
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 4 09:20:42 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=22982
Dennis <dkorpel at live.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dkorpel at live.nl
Resolution|--- |INVALID
--- Comment #1 from Dennis <dkorpel at live.nl> ---
The `only` range here is essentially a static array of `scope` strings. You
can't put scope strings in a dynamic array, because `scope` semantics aren't
transitive, so the error is correct.
--
More information about the Digitalmars-d-bugs
mailing list