fixes #7878
This commit is contained in:
parent
825e08b046
commit
d69a7842fa
2 changed files with 11 additions and 2 deletions
|
|
@ -1501,7 +1501,7 @@ proc genRepr(p: BProc, e: PNode, d: var TLoc) =
|
|||
addrLoc(p.config, a), genTypeInfo(p.module, t, e.info)]), a.storage)
|
||||
of tyOpenArray, tyVarargs:
|
||||
var b: TLoc
|
||||
case a.t.kind
|
||||
case skipTypes(a.t, abstractVarRange).kind
|
||||
of tyOpenArray, tyVarargs:
|
||||
putIntoDest(p, b, e, "$1, $1Len_0" % [rdLoc(a)], a.storage)
|
||||
of tyString, tySequence:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue