diff options
author | Araq <rumpf_a@web.de> | 2016-12-03 02:10:55 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2016-12-03 02:10:55 +0100 |
commit | feb0d21b22bfc678208efd9e84fbe3d33b888f58 (patch) | |
tree | d0a2c7e2be9d416e71ceb19d05876ce25b8339c2 /compiler/semexprs.nim | |
parent | 534daff013a5444ccc7125bb6aef85d542324e88 (diff) | |
download | Nim-feb0d21b22bfc678208efd9e84fbe3d33b888f58.tar.gz |
more fixes
Diffstat (limited to 'compiler/semexprs.nim')
-rw-r--r-- | compiler/semexprs.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/semexprs.nim b/compiler/semexprs.nim index 96ba4a8f3..5e6611064 100644 --- a/compiler/semexprs.nim +++ b/compiler/semexprs.nim @@ -1310,6 +1310,7 @@ proc asgnToResultVar(c: PContext, n, le, ri: PNode) {.inline.} = n.sons[0] = x # 'result[]' --> 'result' n.sons[1] = takeImplicitAddr(c, ri) x.typ.flags.incl tfVarIsPtr + #echo x.info, " setting it for this type ", typeToString(x.typ), " ", n.info template resultTypeIsInferrable(typ: PType): untyped = typ.isMetaType and typ.kind != tyTypeDesc |