diff --git a/stew/assign2.nim b/stew/assign2.nim index 5b28326..b85f6d2 100644 --- a/stew/assign2.nim +++ b/stew/assign2.nim @@ -24,17 +24,30 @@ func assign*[T](tgt: var openArray[T], src: openArray[T]) = raiseAssert "Target and source lengths don't match: " & $tgt.len & " vs " & $src.len - assignImpl(tgt, src) + when nimvm: + for i in 0..