diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-12-09 13:40:16 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-12-09 13:40:16 +0100 |
commit | e8a52a0fc2f0e164d0f79ec443c143d433731472 (patch) | |
tree | 0bdabce67255865556628cc7e470a8974855ede1 /compiler/vmdeps.nim | |
parent | 14f2578604d0bf32a41ed7a26357ae82fb885d7a (diff) | |
parent | 96a5062b8cdc8a8c4ceeff2acd99ffde0ce6be96 (diff) | |
download | Nim-e8a52a0fc2f0e164d0f79ec443c143d433731472.tar.gz |
Merge branch 'devel' of github.com:nim-lang/Nim into devel
Diffstat (limited to 'compiler/vmdeps.nim')
-rw-r--r-- | compiler/vmdeps.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/vmdeps.nim b/compiler/vmdeps.nim index 44550a389..fb277272b 100644 --- a/compiler/vmdeps.nim +++ b/compiler/vmdeps.nim @@ -84,10 +84,10 @@ proc mapTypeToAstX(t: PType; info: TLineInfo; if inst: if t.sym != nil: # if this node has a symbol - if allowRecursion: # getTypeImpl behavior: turn off recursion - allowRecursion = false - else: # getTypeInst behavior: return symbol + if not allowRecursion: # getTypeInst behavior: return symbol return atomicType(t.sym) + #else: # getTypeImpl behavior: turn off recursion + # allowRecursion = false case t.kind of tyNone: result = atomicType("none", mNone) |