Skip to content

Commit

Permalink
disabled sink openArray[T] for adding to seqs (nim-lang#16352) [backp…
Browse files Browse the repository at this point in the history
…ort:1.4]
  • Loading branch information
liquidev authored and mildred committed Jan 11, 2021
1 parent e350558 commit a2f34eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/system.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
##
Expand Down

0 comments on commit a2f34eb

Please sign in to comment.