mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-07 02:54:18 +00:00
Fix checker errors.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user