[Issue 19285] false positive GC inferred

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 9 04:12:51 UTC 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #14195 "Fix Issue 19285 - False GC positive caused by
AddressOf inside typeof…" was merged into master:

- b06afb8bfebbb31d675171c7e7840bf0d40155e0 by mhh:
  Fix Issue 19285 - False GC positive caused by AddressOf inside typeof
polluting global semantic state.

  This patch also adds a new method isFromSpeculativeSemanticContext
  to the Scope struct to avoid repition of this logic in the compiler.

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

--


More information about the Digitalmars-d-bugs mailing list