mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fix issue renaming symbols in type with indexer property
This commit is contained in:
parent
64f3cf9799
commit
b4cfc119a7
1 changed files with 2 additions and 1 deletions
|
@ -5362,6 +5362,7 @@ void BfCompiler::GetSymbolReferences()
|
||||||
typeState.mCurTypeDef = propDef->mDeclaringType;
|
typeState.mCurTypeDef = propDef->mDeclaringType;
|
||||||
module->GetBasePropertyDef(checkPropDef, checkTypeInst);
|
module->GetBasePropertyDef(checkPropDef, checkTypeInst);
|
||||||
if (auto fieldDecl = propDef->GetFieldDeclaration())
|
if (auto fieldDecl = propDef->GetFieldDeclaration())
|
||||||
|
if (fieldDecl->mNameNode != NULL)
|
||||||
mResolvePassData->HandlePropertyReference(fieldDecl->mNameNode, checkTypeInst->mTypeDef, checkPropDef);
|
mResolvePassData->HandlePropertyReference(fieldDecl->mNameNode, checkTypeInst->mTypeDef, checkPropDef);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue