[Issue 22309] Taking the address of a stack variable struct with this is wrongly seen as @safe

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 15 12:30:40 UTC 2021


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@iK4tsu created dlang/dmd pull request #13074 "Fix Issue 22309 - Taking the
address of a stack variable struct with this is wrongly seen as @safe" fixing
this issue:

- dmd.expressionsem: fix taking address of this in safe code

  FIX ISSUE #22309

  Signed-off-by: João Lourenço <jlourenco5691 at gmail.com>

https://github.com/dlang/dmd/pull/13074

--


More information about the Digitalmars-d-bugs mailing list