mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-22 00:41:28 +00:00
@@ -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".} =
|
||||
|
||||
Reference in New Issue
Block a user