diff options
author | Araq <rumpf_a@web.de> | 2012-03-23 20:28:35 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-03-23 20:28:35 +0100 |
commit | 91db6bd9c9ecc7931cea2e74bd7f4ada51be8abb (patch) | |
tree | e3d5477bff4bd5c41e9ac21d23ad0187e4f27dcc /compiler/ccgtrav.nim | |
parent | 5c33f76517d5c0c1fc0bb1b8d4bba7417f2108d2 (diff) | |
download | Nim-91db6bd9c9ecc7931cea2e74bd7f4ada51be8abb.tar.gz |
fixes #102
Diffstat (limited to 'compiler/ccgtrav.nim')
-rw-r--r-- | compiler/ccgtrav.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/ccgtrav.nim b/compiler/ccgtrav.nim index 83dda692b..8aaf5370f 100644 --- a/compiler/ccgtrav.nim +++ b/compiler/ccgtrav.nim @@ -70,6 +70,7 @@ proc genTraverseProc(c: var TTraversalClosure, accessor: PRope, typ: PType) = genTraverseProc(c, accessor.parentObj, typ.sons[i]) if typ.n != nil: genTraverseProc(c, accessor, typ.n) of tyTuple: + let typ = GetUniqueType(typ) if typ.n != nil: genTraverseProc(c, accessor, typ.n) else: |