diff --git a/IDEHelper/Compiler/BfModule.cpp b/IDEHelper/Compiler/BfModule.cpp index 205322b0..2bdf75fd 100644 --- a/IDEHelper/Compiler/BfModule.cpp +++ b/IDEHelper/Compiler/BfModule.cpp @@ -20260,6 +20260,8 @@ void BfModule::SetupIRFunction(BfMethodInstance* methodInstance, StringImpl& man if (checkMethod == methodDef) continue; + if (!checkMethod->mIsExtern) + continue; auto checkMethodInstance = mCurTypeInstance->mMethodInstanceGroups[checkMethod->mIdx].mDefault; if (checkMethodInstance == NULL) continue;