summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <adrian.thurston@esentire.com>2014-01-11 02:37:45 +0000
committerAdrian Thurston <adrian.thurston@esentire.com>2014-01-11 02:37:45 +0000
commit3427860e13e02675553c0f048d2b646c1255281b (patch)
tree98d626f191562aa5807fc145f7fa069898d7ddd9
parent5bd0843a9de37f4dff5783aeb9b0a84d41107d76 (diff)
downloadcolm-3427860e13e02675553c0f048d2b646c1255281b.tar.gz
added missing type lookup in qual resolve
-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. */