mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
fixes it in the normal situation
(cherry picked from commit 30cb6826c0)
This commit is contained in:
@@ -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".} =
|
||||
|
||||
Reference in New Issue
Block a user