[Issue 22539] [dip1000] slicing of returned ref scope static array should not be allowed

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 27 20:19:36 UTC 2021


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

--- Comment #6 from Dennis <dkorpel at live.nl> ---
(In reply to Walter Bright from comment #4)
> Add @safe to escape() and it will fail to compile.

`escape` is already under `@safe:`. I added `@safe` to escape explicitly to
double check, it still compiles on my end. What error do you get?

--


More information about the Digitalmars-d-bugs mailing list