diff options
author | Adrian Thurston <adrian.thurston@esentire.com> | 2014-01-11 02:37:45 +0000 |
---|---|---|
committer | Adrian Thurston <adrian.thurston@esentire.com> | 2014-01-11 02:37:45 +0000 |
commit | 3427860e13e02675553c0f048d2b646c1255281b (patch) | |
tree | 98d626f191562aa5807fc145f7fa069898d7ddd9 | |
parent | 5bd0843a9de37f4dff5783aeb9b0a84d41107d76 (diff) | |
download | colm-3427860e13e02675553c0f048d2b646c1255281b.tar.gz |
added missing type lookup in qual resolve
-rw-r--r-- | src/lookup.cc | 1 |
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. */ |