summary refs log tree commit diff stats
path: root/lib/system/repr.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-12-28 23:30:53 +0100
committerAraq <rumpf_a@web.de>2013-12-28 23:30:53 +0100
commit1101a40f91880b6cd1f0807d2b272eda7b5c9491 (patch)
tree650531f24cec9b67ffee2a36f4fa0eb2de3144d8 /lib/system/repr.nim
parentf2b9905b4e4365e0dd51a67ad90ac690f584feca (diff)
downloadNim-1101a40f91880b6cd1f0807d2b272eda7b5c9491.tar.gz
improvements for 'pretty'
Diffstat (limited to 'lib/system/repr.nim')
-rw-r--r--lib/system/repr.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/repr.nim b/lib/system/repr.nim
index aacf26653..cd3f7c3f4 100644
--- a/lib/system/repr.nim
+++ b/lib/system/repr.nim
@@ -164,7 +164,7 @@ when not defined(useNimRtl):
     for i in 0..cast[PGenericSeq](p).len-1:
       if i > 0: add result, ", "
       reprAux(result, cast[pointer](cast[TAddress](p) + GenericSeqSize + i*bs),
-              typ.Base, cl)
+              typ.base, cl)
     add result, "]"
 
   proc reprRecordAux(result: var string, p: pointer, n: ptr TNimNode,