dip1000 and preview in combine to cause extra safety errors
deadalnix
deadalnix at gmail.com
Wed Jun 8 18:22:43 UTC 2022
On Wednesday, 8 June 2022 at 17:50:18 UTC, John Colvin wrote:
> The compiler is going “you told me `foo` doesn’t leak
> references to the string passed to it, I believe you. Based on
> that, this temporary array is safe to put on the stack”. I
> think it’s reasonable for the compiler to lean on `scope` like
> this.
>
Never mind, result is a `string[]` so yes, it's somewhat expected.
More information about the Digitalmars-d
mailing list