Remove some TODO. Leave important note

This commit is contained in:
Harold Brenes
2025-05-03 03:20:02 -04:00
parent 6d18560ca3
commit fc082f5ea5
2 changed files with 4 additions and 2 deletions
-2
View File
@@ -1649,8 +1649,6 @@ gb_internal void lb_finalize_objc_names(lbGenerator *gen, lbProcedure *p) {
isize method_param_count = method_type->Proc.param_count;
isize method_param_offset = 0;
// TODO(harold): Need to make sure (at checker stage) that the non-class method has the self parameter already.
// (Maybe this is already accounted for?.)
if (!md.ac.objc_is_class_method) {
GB_ASSERT(method_param_count >= 1);
method_param_count -= 1;