diff --git a/IDEHelper/Compiler/BfModule.cpp b/IDEHelper/Compiler/BfModule.cpp index 1c8ed8bf..33dc76db 100644 --- a/IDEHelper/Compiler/BfModule.cpp +++ b/IDEHelper/Compiler/BfModule.cpp @@ -19420,7 +19420,7 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup, SetAndRestoreValue prevIgnoreErrors(mIgnoreErrors); SetAndRestoreValue prevIgnoreWarnings(mIgnoreWarnings, mIsComptimeModule); - if ((methodInstance->mIsReified) && + if ((!mIsComptimeModule) && (methodInstance->mIsReified) && ((methodDef->mMethodType == BfMethodType_Ctor) || (methodDef->mMethodType == BfMethodType_CtorNoBody))) { mCurTypeInstance->mHasBeenInstantiated = true;