summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-08-13 12:58:49 +0200
committerAraq <rumpf_a@web.de>2014-08-13 12:58:49 +0200
commitaf0de9090ee349b78db44f4fcfb8df46625dea79 (patch)
tree381e486219e867954cd08ea8e3c22f86758598c0 /lib
parent32a5d4baf0e4930dbb9da47b060784a948bc2bee (diff)
downloadNim-af0de9090ee349b78db44f4fcfb8df46625dea79.tar.gz
fixes #1475
Diffstat (limited to 'lib')
-rw-r--r--lib/system/repr.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/repr.nim b/lib/system/repr.nim
index d6df61fd3..8e1bc5f26 100644
--- a/lib/system/repr.nim
+++ b/lib/system/repr.nim
@@ -221,7 +221,7 @@ when not defined(useNimRtl):
     dec(cl.recdepth)
     case typ.kind
     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 tyObject: 
       var t = cast[ptr PNimType](p)[]
@@ -275,7 +275,7 @@ when not defined(useNimRtl):
       cl: TReprClosure
     initReprClosure(cl)
     result = ""
-    if typ.kind in {tyObject, tyTuple, tyArray, tySet}:
+    if typ.kind in {tyObject, tyTuple, tyArray, tyArrayConstr, tySet}:
       reprAux(result, p, typ, cl)
     else:
       var p = p