diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2024-01-11 22:38:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-11 15:38:23 +0100 |
commit | 30cb6826c01d880b852b56e0d0d69e79a2105115 (patch) | |
tree | ec8f9fd5218ed8986dda871e347364a911aad42a /lib/system.nim | |
parent | 6650b417779d61a895da23d24ab32ee1388216c2 (diff) | |
download | Nim-30cb6826c01d880b852b56e0d0d69e79a2105115.tar.gz |
patches for #23129 (#23198)
fixes it in the normal situation
Diffstat (limited to 'lib/system.nim')
-rw-r--r-- | lib/system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index 1d08c70b4..38e372897 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -376,7 +376,7 @@ else: discard when defined(nimAllowNonVarDestructor) and arcLikeMem: - proc `=destroy`*(x: string) {.inline, magic: "Destroy".} = + proc `=destroy`*(x: string) {.inline, magic: "Destroy", enforceNoRaises.} = discard proc `=destroy`*[T](x: seq[T]) {.inline, magic: "Destroy".} = |