diff options
author | Adrian Thurston <thurston@complang.org> | 2014-02-01 10:28:41 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-02-01 10:28:41 -0500 |
commit | 56331d8670d8c16bdf429f50eed6bd08e03ee41d (patch) | |
tree | 10f6bea17de9822c0ecacb033e6c44ce2d9ac3b1 /src/lookup.cc | |
parent | ab372bdf298961864975228fa3f93f464b145539 (diff) | |
download | colm-56331d8670d8c16bdf429f50eed6bd08e03ee41d.tar.gz |
use the verb 'resolve' for types
Diffstat (limited to 'src/lookup.cc')
-rw-r--r-- | src/lookup.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lookup.cc b/src/lookup.cc index 357937c9..3809de33 100644 --- a/src/lookup.cc +++ b/src/lookup.cc @@ -76,7 +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 ); + el->typeRef->resolveType( pd ); UniqueType *qualUT = el->typeRef->uniqueType; /* If we are dealing with an iterator then dereference it. */ @@ -203,7 +203,7 @@ UniqueType *LangVarRef::lookup( Compiler *pd ) const VarRefLookup lookup = lookupField( pd ); ObjectField *el = lookup.objField; - UniqueType *elUT = el->typeRef->lookupType( pd ); + UniqueType *elUT = el->typeRef->resolveType( pd ); /* Deref iterators. */ if ( elUT->typeId == TYPE_ITER ) |