diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-05-11 21:34:54 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-05-11 21:34:54 +0200 |
commit | 1ae95310ad2d7b1296596331c0a2a05c79198051 (patch) | |
tree | dc3e5983138963ef7e936dcf786b286eddff413a /compiler/ccgstmts.nim | |
parent | ac1a753aff0324caf6214fe76094136d04faac3d (diff) | |
download | Nim-1ae95310ad2d7b1296596331c0a2a05c79198051.tar.gz |
fixes #3992
Diffstat (limited to 'compiler/ccgstmts.nim')
-rw-r--r-- | compiler/ccgstmts.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/ccgstmts.nim b/compiler/ccgstmts.nim index f2ceadcce..988c923c8 100644 --- a/compiler/ccgstmts.nim +++ b/compiler/ccgstmts.nim @@ -961,6 +961,8 @@ proc genAsmOrEmitStmt(p: BProc, t: PNode, isAsmStmt=false): Rope = var a: TLoc initLocExpr(p, t.sons[i], a) res.add($rdLoc(a)) + elif sym.kind == skType: + res.add($getTypeDesc(p.module, sym.typ)) else: var r = sym.loc.r if r == nil: |