mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed type resolution infinite loop
This commit is contained in:
parent
6b9bb361f9
commit
37e4c589b0
2 changed files with 12 additions and 5 deletions
|
@ -1911,6 +1911,8 @@ bool BfAutoComplete::CheckExplicitInterface(BfTypeInstance* interfaceType, BfAst
|
|||
else
|
||||
return false;
|
||||
|
||||
mModule->PopulateType(interfaceType, BfPopulateType_DataAndMethods);
|
||||
|
||||
String filter;
|
||||
if (isAutocompletingName)
|
||||
filter = GetFilter(memberName);
|
||||
|
@ -2544,7 +2546,7 @@ void BfAutoComplete::CheckProperty(BfPropertyDeclaration* propertyDeclaration)
|
|||
{
|
||||
BfTypeInstance* typeInst = NULL;
|
||||
|
||||
auto type = mModule->ResolveTypeRef(propertyDeclaration->mExplicitInterface, BfPopulateType_DataAndMethods);
|
||||
auto type = mModule->ResolveTypeRef(propertyDeclaration->mExplicitInterface, BfPopulateType_Identity);
|
||||
if (type != NULL)
|
||||
typeInst = type->ToTypeInstance();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue