This commit is contained in:
gingerBill
2025-01-31 09:30:15 +00:00
parent a94ffefba3
commit 2af60b8767

View File

@@ -6319,6 +6319,10 @@ gb_internal void check_deferred_procedures(Checker *c) {
continue;
}
if (dst_params == nullptr) {
error(src->token, "Deferred procedure must have parameters for %s", attribute);
continue;
}
GB_ASSERT(dst_params->kind == Type_Tuple);
Type *tsrc = alloc_type_tuple();