From 6e0cabf8aac039625607573e364373cb77dea6ea Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Tue, 18 Feb 2025 13:45:45 -0800 Subject: [PATCH] Fixed invalid extension override assumption --- IDEHelper/Compiler/BfModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IDEHelper/Compiler/BfModule.cpp b/IDEHelper/Compiler/BfModule.cpp index ce7938d8..98310d3f 100644 --- a/IDEHelper/Compiler/BfModule.cpp +++ b/IDEHelper/Compiler/BfModule.cpp @@ -25598,7 +25598,7 @@ void BfModule::DoMethodDeclaration(BfMethodDeclaration* methodDeclaration, bool auto checkMethodInstance = typeInstance->mMethodInstanceGroups[checkMethod->mIdx].mDefault; if (checkMethodInstance == NULL) { - if ((methodDef->mDeclaringType->IsExtension()) && (!checkMethod->mDeclaringType->IsExtension())) + if (methodDef->mDeclaringType->IsExtension()) checkMethodInstance = GetRawMethodInstanceAtIdx(typeInstance, checkMethod->mIdx); if (checkMethodInstance == NULL) continue;