[Issue 21996] -checkaction=context triggers InvalidMemoryOperationError in finalizer

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 6 13:10:05 UTC 2021


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

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

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

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MoonlightSentinel created dlang/druntime pull request #3493 "Fix 21996 - Skip
message formatting for checkaction=context in finalizer" fixing this issue:

- Fix 21996 - Skip message formatting for checkaction=context in finalizer

  The message formatting isn't `@nogc` yet and hence caused an
  `InvalidMemoryOperationError` when called from a finalizer.

https://github.com/dlang/druntime/pull/3493

--


More information about the Digitalmars-d-bugs mailing list