mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed VerifyTypeLookups from outer types
This commit is contained in:
parent
4feda1da59
commit
c4b7cc58a1
2 changed files with 4 additions and 1 deletions
|
@ -2276,7 +2276,7 @@ void BfContext::VerifyTypeLookups(BfTypeInstance* typeInst)
|
|||
// so the mNextRevision will be ignored
|
||||
auto useTypeDef = lookupEntry.mUseTypeDef;
|
||||
BfTypeDef* ambiguousTypeDef = NULL;
|
||||
BfTypeDef* result = mSystem->FindTypeDef(lookupEntry.mName, lookupEntry.mNumGenericParams, useTypeDef->mProject, useTypeDef->mNamespaceSearch, &ambiguousTypeDef);
|
||||
BfTypeDef* result = typeInst->mModule->FindTypeDefRaw(lookupEntry.mName, lookupEntry.mNumGenericParams, typeInst, useTypeDef, NULL);
|
||||
if (result != lookupEntryPair.mValue.mTypeDef)
|
||||
{
|
||||
isDirty = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue