summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-02-25 12:59:19 +0100
committerAraq <rumpf_a@web.de>2015-02-25 12:59:32 +0100
commit335c19c8692086ddb845af1b840b49e306c5179b (patch)
tree6d7333e562e6a2c371e2b3e02370290b429a24b2 /compiler
parentdc8b07fe0bac01b65ac32efb9e28a855bedf3299 (diff)
downloadNim-335c19c8692086ddb845af1b840b49e306c5179b.tar.gz
tester reports ignored tests and supports 'nimout'; fixes #2211
Diffstat (limited to 'compiler')
-rw-r--r--compiler/vmdeps.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/vmdeps.nim b/compiler/vmdeps.nim
index c1a68dbcb..11d839c41 100644
--- a/compiler/vmdeps.nim
+++ b/compiler/vmdeps.nim
@@ -54,6 +54,7 @@ proc mapTypeToBracket(name: string; t: PType; info: TLineInfo): PNode =
     if t.sons[i] == nil:
       let void = atomicTypeX("void", t, info)
       void.typ = newType(tyEmpty, t.owner)
+      result.add void
     else:
       result.add mapTypeToAst(t.sons[i], info)
 
@@ -105,7 +106,7 @@ proc mapTypeToAst(t: PType, info: TLineInfo; allowRecursion=false): PNode =
   of tyPtr: result = mapTypeToBracket("ptr", t, info)
   of tyRef: result = mapTypeToBracket("ref", t, info)
   of tyVar: result = mapTypeToBracket("var", t, info)
-  of tySequence: result = mapTypeToBracket("sequence", t, info)
+  of tySequence: result = mapTypeToBracket("seq", t, info)
   of tyProc: result = mapTypeToBracket("proc", t, info)
   of tyOpenArray: result = mapTypeToBracket("openArray", t, info)
   of tyRange: