1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Extension classifier fix

This commit is contained in:
Brian Fiete 2020-08-31 14:16:22 -07:00
parent f008a98105
commit 95c876570f
3 changed files with 15 additions and 1 deletions

View file

@ -3894,7 +3894,7 @@ void BfCompiler::ProcessAutocompleteTempType()
};
if (tempTypeDef->mTypeCode == BfTypeCode_Extension)
{
{
BfTypeInstance* outerTypeInstance = NULL;
if (tempTypeDef->mOuterType != NULL)
@ -3928,6 +3928,9 @@ void BfCompiler::ProcessAutocompleteTempType()
return;
}
if (tempTypeDef->mTypeCode == BfTypeCode_Extension)
mResolvePassData->mSourceClassifier->SetElementType(tempTypeDef->mTypeDeclaration->mNameNode, actualTypeDef->mTypeCode);
if (tempTypeDef->mTypeDeclaration->mAttributes != NULL)
{
mResolvePassData->mSourceClassifier->VisitChild(tempTypeDef->mTypeDeclaration->mAttributes);