This commit is contained in:
Andreas Rumpf
2018-11-26 10:41:26 +01:00
parent 6206ba8f30
commit eb919c35b2
5 changed files with 6 additions and 3 deletions

View File

@@ -373,7 +373,7 @@ when defined(nimArrIdx):
x: S) {.noSideEffect, magic: "ArrPut".}
when defined(nimNewRuntime):
proc `=destroy`*[T](x: var T) {.inline, magic: "Asgn".} =
proc `=destroy`*[T](x: var T) {.inline, magic: "Destroy".} =
## generic `destructor`:idx: implementation that can be overriden.
discard
proc `=sink`*[T](x: var T; y: T) {.inline, magic: "Asgn".} =