Fix checker errors.

This commit is contained in:
Harold Brenes
2025-05-03 02:30:53 -04:00
parent 33d37c72f9
commit cf3830a6a8
2 changed files with 16 additions and 16 deletions

View File

@@ -6506,7 +6506,7 @@ gb_internal void check_objc_context_provider_procedures(Checker *c) {
}
Type *self_param = base_type(proc.params->Tuple.variables[0]->type);
if (self_param->kind == Type_Pointer) {
if (self_param->kind != Type_Pointer) {
error(proc_entity->token, self_param_err);
}