fixes #9675
This commit is contained in:
parent
6206ba8f30
commit
eb919c35b2
5 changed files with 6 additions and 3 deletions
|
|
@ -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".} =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue