mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-19 07:21:19 +00:00
fixes tests for 'system.shallow'
This commit is contained in:
@@ -114,7 +114,7 @@ proc storeAux(dest, src: Pointer, mt: PNimType, t: PRawChannel,
|
||||
mt.Base, t, mode)
|
||||
var dstseq = cast[PGenericSeq](dst)
|
||||
dstseq.len = seq.len
|
||||
dstseq.space = seq.len
|
||||
dstseq.reserved = seq.len
|
||||
if mode != mStore: Dealloc(t.region, s2)
|
||||
of tyObject:
|
||||
# copy type field:
|
||||
|
||||
Reference in New Issue
Block a user