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

Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Walter Bright <[email protected]> ---
I suspect the problem is actually this line:

    scope int*[1] x = [&stackVar];

Since scope is not transitive, allowing this causes the compiler to lose track
of stack addresses, and will allow escapes.

--

Reply via email to