summary refs log tree commit diff stats
path: root/compiler
diff options
context:
space:
mode:
authorfowlmouth <phowl.mouth@gmail.com>2015-03-27 02:16:24 -0500
committerfowlmouth <phowl.mouth@gmail.com>2015-03-27 02:16:24 -0500
commit8274639eaa0be75dd038cdba3010ab839a2bed6c (patch)
treedac85957112b363be2d1e533fedb7e60d4e08d85 /compiler
parentcfbb7390e2ed6b881559c3717b85b7e932c88476 (diff)
parent1ba785dd745cb0f18527014c0c2c1b2d65129a34 (diff)
downloadNim-8274639eaa0be75dd038cdba3010ab839a2bed6c.tar.gz
Merge branch 'patch-2' of github.com:fowlmouth/Nimrod into patch
Conflicts:
	compiler/vmdeps.nim
Diffstat (limited to 'compiler')
-rw-r--r--compiler/vmdeps.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/vmdeps.nim b/compiler/vmdeps.nim
index 2b80f6aed..6148ed319 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