Fix entity nullptr check
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -307,3 +307,4 @@ compile_commands.json
|
|||||||
build/
|
build/
|
||||||
cmake-build*/
|
cmake-build*/
|
||||||
CMakeLists.txt
|
CMakeLists.txt
|
||||||
|
sandbox/
|
||||||
@@ -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 = {};
|
||||||
|
|||||||
Reference in new issue
Block a user