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

(cherry picked from commit 30cb682)
  • Loading branch information
ringabout authored and narimiran committed Jul 9, 2024
1 parent 83455cf commit 76e6130
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 @@ -378,7 +378,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 76e6130

Please sign in to comment.