mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 11:12:37 +00:00
disabled sink openArray[T] for adding to seqs (#16352) [backport:1.4]
This commit is contained in:
@@ -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`.
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user