From 65a28a97bb430942a1dfddc9899d8ffd9d0ceb1a Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 27 Jul 2020 17:41:07 -0700 Subject: [PATCH] Mixin fix for closed module --- IDEHelper/Compiler/BfModule.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/IDEHelper/Compiler/BfModule.cpp b/IDEHelper/Compiler/BfModule.cpp index 1e3016bf..05193afc 100644 --- a/IDEHelper/Compiler/BfModule.cpp +++ b/IDEHelper/Compiler/BfModule.cpp @@ -12120,7 +12120,12 @@ BfModuleMethodInstance BfModule::GetMethodInstance(BfTypeInstance* typeInst, BfM if (!methodInstance->mMethodDef->mIsAbstract) { - AddMethodToWorkList(methodInstance); + if ((methodInstance->mMethodDef->mMethodType == BfMethodType_Mixin) && (!methodInstance->mDeclModule->mIsModuleMutable)) + { + // Wait until unreified + } + else + AddMethodToWorkList(methodInstance); } else {