disabled sink openArray[T] for adding to seqs (#16352) [backport:1.4]
This commit is contained in:
parent
f3d57761ab
commit
233c6a2fba
1 changed files with 1 additions and 1 deletions
|
|
@ -1215,7 +1215,7 @@ when defined(nimscript) or not defined(nimSeqsV2):
|
|||
## Generic code becomes much easier to write if the Nim naming scheme is
|
||||
## respected.
|
||||
|
||||
when defined(gcDestructors):
|
||||
when false: # defined(gcDestructors):
|
||||
proc add*[T](x: var seq[T], y: sink openArray[T]) {.noSideEffect.} =
|
||||
## Generic proc for adding a container `y` to a container `x`.
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue