mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
For memory-safety, this only seems problematic in case of closures, so I
just special cased that.
Fixes #25131
(cherry picked from commit d73f478bdc)