diff options
-rw-r--r-- | giscanner/transformer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/transformer.py b/giscanner/transformer.py index 7acca226..6cd7dc28 100644 --- a/giscanner/transformer.py +++ b/giscanner/transformer.py @@ -979,7 +979,7 @@ Note that type resolution may not succeed.""" if typenode.target.target_giname is not None: typenode = self.lookup_giname(typenode.target.target_giname) elif typenode.target.target_fundamental is not None: - typenode = ast.type_names[typenode.target.target_fundamental] + typenode = typenode.target else: break return typenode |