Commit c08ac4ed authored by Robert Bradshaw's avatar Robert Bradshaw

Fix compiler crash.

parent 4e3445db
......@@ -828,7 +828,7 @@ class CSimpleBaseTypeNode(CBaseTypeNode):
scope = env
for item in self.module_path:
entry = scope.lookup(item)
if entry.is_cpp_class:
if entry is not None and entry.is_cpp_class:
scope = entry.type.scope
else:
scope = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment