fix null check in def_variable

This commit is contained in:
Edward R. Gonzalez 2024-12-15 18:21:03 -05:00
parent 868b93cdd0
commit a6143e12b4

View File

@ -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;
}