Fix entity nullptr check

This commit is contained in:
Harold Brenes committed 2025-09-29 20:38:16 -04:00
1 parent 9425954861
commit 481deee4ae
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -307,3 +307,4 @@ compile_commands.json
build/ build/
cmake-build*/ cmake-build*/
CMakeLists.txt CMakeLists.txt
sandbox/
+1 -1
View File
@@ -4135,7 +4135,7 @@ gb_internal lbValue lb_build_call_expr_internal(lbProcedure *p, Ast *expr) {
return lb_build_builtin_proc(p, expr, tv, id); return lb_build_builtin_proc(p, expr, tv, id);
} }
bool is_objc_call = proc_entity->Procedure.is_objc_impl_or_import; bool is_objc_call = proc_entity && proc_entity->Procedure.is_objc_impl_or_import;
// NOTE(bill): Regular call // NOTE(bill): Regular call
lbValue value = {}; lbValue value = {};