fixes #1475
This commit is contained in:
parent
32a5d4baf0
commit
af0de9090e
1 changed files with 2 additions and 2 deletions
|
|
@ -221,7 +221,7 @@ when not defined(useNimRtl):
|
||||||
dec(cl.recdepth)
|
dec(cl.recdepth)
|
||||||
case typ.kind
|
case typ.kind
|
||||||
of tySet: reprSetAux(result, p, typ)
|
of tySet: reprSetAux(result, p, typ)
|
||||||
of tyArray: reprArray(result, p, typ, cl)
|
of tyArray, tyArrayConstr: reprArray(result, p, typ, cl)
|
||||||
of tyTuple: reprRecord(result, p, typ, cl)
|
of tyTuple: reprRecord(result, p, typ, cl)
|
||||||
of tyObject:
|
of tyObject:
|
||||||
var t = cast[ptr PNimType](p)[]
|
var t = cast[ptr PNimType](p)[]
|
||||||
|
|
@ -275,7 +275,7 @@ when not defined(useNimRtl):
|
||||||
cl: TReprClosure
|
cl: TReprClosure
|
||||||
initReprClosure(cl)
|
initReprClosure(cl)
|
||||||
result = ""
|
result = ""
|
||||||
if typ.kind in {tyObject, tyTuple, tyArray, tySet}:
|
if typ.kind in {tyObject, tyTuple, tyArray, tyArrayConstr, tySet}:
|
||||||
reprAux(result, p, typ, cl)
|
reprAux(result, p, typ, cl)
|
||||||
else:
|
else:
|
||||||
var p = p
|
var p = p
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue