diff --git a/IDEHelper/Compiler/BfCompiler.cpp b/IDEHelper/Compiler/BfCompiler.cpp index 87c26499..3d9937d9 100644 --- a/IDEHelper/Compiler/BfCompiler.cpp +++ b/IDEHelper/Compiler/BfCompiler.cpp @@ -9364,7 +9364,8 @@ BfType* BfCompiler::GetType(const StringImpl& fullTypeName) SetAndRestoreValue prevIgnoreWarnings(mContext->mScratchModule->mIgnoreWarnings, true); SetAndRestoreValue prevResolvePass(mResolvePassData, &resolvePass); - auto type = mContext->mScratchModule->ResolveTypeRef(typeRef, BfPopulateType_Identity, (BfResolveTypeRefFlags)(BfResolveTypeRefFlag_NoCreate | BfResolveTypeRefFlag_AllowUnboundGeneric)); + auto type = mContext->mScratchModule->ResolveTypeRef(typeRef, BfPopulateType_Identity, (BfResolveTypeRefFlags)( + BfResolveTypeRefFlag_NoCreate | BfResolveTypeRefFlag_AllowUnboundGeneric | BfResolveTypeRefFlag_AllowGlobalContainer)); if (type != NULL) return type;