mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed abstract default interface methods
This commit is contained in:
parent
840a60697d
commit
cad0b10aae
1 changed files with 2 additions and 1 deletions
|
@ -4849,7 +4849,8 @@ void BfModule::DoTypeInstanceMethodProcessing(BfTypeInstance* typeInstance)
|
|||
}
|
||||
}
|
||||
|
||||
if ((bestMethodInst->mMethodDef->HasBody()) && (matchedMethod == NULL))
|
||||
bool hasDefaultImpl = bestMethodInst->mMethodDef->HasBody() || bestMethodInst->mMethodDef->mIsAbstract;
|
||||
if ((hasDefaultImpl) && (matchedMethod == NULL))
|
||||
{
|
||||
auto methodDef = bestMethodInst->mMethodDef;
|
||||
BfGetMethodInstanceFlags flags = BfGetMethodInstanceFlag_ForeignMethodDef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue