Skip to content

Commit

Permalink
patches for #23129 (#23198)
Browse files Browse the repository at this point in the history
fixes it in the normal situation
  • Loading branch information
ringabout authored Jan 11, 2024
1 parent 6650b41 commit 30cb682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/system.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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".} =
Expand Down

0 comments on commit 30cb682

Please sign in to comment.