mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Property visibility fixes for default interface methods
This commit is contained in:
parent
2746a53839
commit
16de3a14a4
5 changed files with 45 additions and 11 deletions
|
@ -19050,7 +19050,7 @@ BfModuleMethodInstance BfExprEvaluator::GetPropertyMethodInstance(BfMethodDef* m
|
|||
checkType = mModule->GetWrappedStructType(checkType);
|
||||
if ((checkType != NULL) && (checkType->IsTypeInstance()))
|
||||
{
|
||||
auto activeTypeDef = mModule->GetActiveTypeDef();
|
||||
auto activeTypeDef = mModule->GetActiveTypeDef(NULL, false, true);
|
||||
BfTypeInterfaceEntry* bestIFaceEntry = NULL;
|
||||
|
||||
bool checkedUnderlying = false;
|
||||
|
@ -19213,6 +19213,11 @@ BfTypedValue BfExprEvaluator::GetResult(bool clearResult, bool resolveGenericTyp
|
|||
}
|
||||
}
|
||||
|
||||
if (mModule->mCurMethodInstance->mIsForeignMethodDef)
|
||||
{
|
||||
NOP;
|
||||
}
|
||||
|
||||
if (!handled)
|
||||
{
|
||||
SetAndRestoreValue<BfFunctionBindResult*> prevFunctionBindResult(mFunctionBindResult, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue