mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed extension method override error check
This commit is contained in:
parent
9d9cd528da
commit
b438f2166d
1 changed files with 1 additions and 1 deletions
|
@ -22280,7 +22280,7 @@ void BfModule::SetupIRFunction(BfMethodInstance* methodInstance, StringImpl& man
|
||||||
auto checkMethodInstance = mCurTypeInstance->mMethodInstanceGroups[checkMethod->mIdx].mDefault;
|
auto checkMethodInstance = mCurTypeInstance->mMethodInstanceGroups[checkMethod->mIdx].mDefault;
|
||||||
if (checkMethodInstance == NULL)
|
if (checkMethodInstance == NULL)
|
||||||
continue;
|
continue;
|
||||||
if (checkMethodInstance->mIRFunction == prevFunc)
|
if ((checkMethodInstance->mIRFunction == prevFunc) && (checkMethodInstance->mMethodDef->mMethodDeclaration != NULL))
|
||||||
{
|
{
|
||||||
BfAstNode* refNode = methodDef->GetRefNode();
|
BfAstNode* refNode = methodDef->GetRefNode();
|
||||||
if (auto propertyMethodDeclaration = methodDef->GetPropertyMethodDeclaration())
|
if (auto propertyMethodDeclaration = methodDef->GetPropertyMethodDeclaration())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue