[Issue 23175] -preview=in silently adds possible stack memory escape

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 10 17:36:13 UTC 2022


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

Paul Backus <snarwin+bugzilla at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |snarwin+bugzilla at gmail.com

--- Comment #1 from Paul Backus <snarwin+bugzilla at gmail.com> ---
Some historical context:

Pn 2018-06-14, in commit 93411bed2 [], the spec was changed

On 2020-08-16, in commit 52e211539 [], the spec was changed to its current
wording, which documents `-preview=in` and says that `in` parameters "behave as
though" they are `const scope`.

[]: https://github.com/dlang/dlang.org/commit/93411bed2
[]: https://github.com/dlang/dlang.org/commit/52e211539

--


More information about the Digitalmars-d-bugs mailing list