From 9a5d2ff6650de4755276ceffab262fc185b0d133 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Thu, 23 Jan 2025 12:27:47 -0800 Subject: [PATCH] CheckGenericConstraints var handling --- IDEHelper/Compiler/BfModule.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/IDEHelper/Compiler/BfModule.cpp b/IDEHelper/Compiler/BfModule.cpp index 348a216f..358588fb 100644 --- a/IDEHelper/Compiler/BfModule.cpp +++ b/IDEHelper/Compiler/BfModule.cpp @@ -8553,6 +8553,9 @@ bool BfModule::CheckGenericConstraints(const BfGenericParamSource& genericParamS bool ignoreErrors = (errorOut == NULL) || ((genericParamSource.mMethodInstance == NULL) && (genericParamSource.mTypeInstance == NULL)); + if (checkArgType->IsVar()) + return true; + BfType* origCheckArgType = checkArgType; if (origCheckArgType->IsRef())