summaryrefslogtreecommitdiff
path: root/src/lookup.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-01-11 02:37:45 +0000
committerAdrian Thurston <thurston@complang.org>2014-01-11 02:37:45 +0000
commitaa51dab49b282283a7e7b45ea65221f3eb87b8c0 (patch)
tree98d626f191562aa5807fc145f7fa069898d7ddd9 /src/lookup.cc
parentdce0feb8d1ff51bb586a13dd505ef41a403a3554 (diff)
downloadcolm-aa51dab49b282283a7e7b45ea65221f3eb87b8c0.tar.gz
added missing type lookup in qual resolve
Diffstat (limited to 'src/lookup.cc')
-rw-r--r--src/lookup.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lookup.cc b/src/lookup.cc
index 05b5f5ad..357937c9 100644
--- a/src/lookup.cc
+++ b/src/lookup.cc
@@ -76,6 +76,7 @@ VarRefLookup LangVarRef::lookupQualification( Compiler *pd, ObjNameScope *rootSc
error(qi->loc) << "cannot resolve qualification " << qi->data << endp;
/* Lookup the type of the field. */
+ el->typeRef->lookupType( pd );
UniqueType *qualUT = el->typeRef->uniqueType;
/* If we are dealing with an iterator then dereference it. */