mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed symbol reference issue with default interface method impls
This commit is contained in:
parent
e1d75d66bf
commit
eab64df7ce
1 changed files with 2 additions and 1 deletions
|
@ -18914,7 +18914,8 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((mCompiler->mResolvePassData != NULL) && (methodDeclaration != NULL) && (nameNode != NULL) &&
|
if ((mCompiler->mResolvePassData != NULL) && (methodDeclaration != NULL) && (nameNode != NULL) &&
|
||||||
(mCompiler->mResolvePassData->mGetSymbolReferenceKind == BfGetSymbolReferenceKind_Method) && (methodDef->mIdx >= 0))
|
(mCompiler->mResolvePassData->mGetSymbolReferenceKind == BfGetSymbolReferenceKind_Method) &&
|
||||||
|
(methodDef->mIdx >= 0) && (!methodInstance->mIsForeignMethodDef))
|
||||||
{
|
{
|
||||||
if (methodInstance->GetExplicitInterface() == NULL)
|
if (methodInstance->GetExplicitInterface() == NULL)
|
||||||
mCompiler->mResolvePassData->HandleMethodReference(nameNode, typeDef, methodDef);
|
mCompiler->mResolvePassData->HandleMethodReference(nameNode, typeDef, methodDef);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue