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:
parent
f008a98105
commit
95c876570f
3 changed files with 15 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue