From a6143e12b4292851f021e570bd1ddf3d7265ad8b Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sun, 15 Dec 2024 18:21:03 -0500 Subject: [PATCH] fix null check in def_variable --- base/components/interface.upfront.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/components/interface.upfront.cpp b/base/components/interface.upfront.cpp index d6be498..d064a8b 100644 --- a/base/components/interface.upfront.cpp +++ b/base/components/interface.upfront.cpp @@ -1274,7 +1274,7 @@ CodeUsing def_using_namespace( Str name ) CodeVar def_variable( CodeTypename type, Str name, Opts_def_variable p ) { - if ( ! name_check( def_variable, name ) || null_check( def_variable, type ) ) { + if ( ! name_check( def_variable, name ) || ! null_check( def_variable, type ) ) { GEN_DEBUG_TRAP(); return InvalidCode; }