From 1ba785dd745cb0f18527014c0c2c1b2d65129a34 Mon Sep 17 00:00:00 2001 From: Billingsly Wetherfordshire Date: Fri, 27 Mar 2015 01:43:28 -0500 Subject: [PATCH] set type for symbols from getType() --- compiler/vmdeps.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/vmdeps.nim b/compiler/vmdeps.nim index 2b80f6aedb..6148ed319a 100644 --- a/compiler/vmdeps.nim +++ b/compiler/vmdeps.nim @@ -42,6 +42,7 @@ proc opSlurp*(file: string, info: TLineInfo, module: PSym): string = proc atomicTypeX(name: string; t: PType; info: TLineInfo): PNode = let sym = newSym(skType, getIdent(name), t.owner, info) + sym.typ = t result = newSymNode(sym) result.typ = t