Sema: minor cleanup

This commit is contained in:
mlugg 2024-10-15 15:15:06 +01:00
parent cb48376bec
commit d466c08e05
No known key found for this signature in database
GPG Key ID: 3F5B7DCCBF4AF02E

View File

@ -9877,8 +9877,8 @@ fn funcCommon(
.avr_interrupt, .avr_interrupt,
.csky_interrupt, .csky_interrupt,
.m68k_interrupt, .m68k_interrupt,
.avr_signal,
=> return sema.fail(block, param_src, "parameters are not allowed with '{s}' calling convention", .{@tagName(cc_resolved)}), => return sema.fail(block, param_src, "parameters are not allowed with '{s}' calling convention", .{@tagName(cc_resolved)}),
.avr_signal => return sema.fail(block, param_src, "parameters are not allowed with '{s}' calling convention", .{@tagName(cc_resolved)}),
else => {}, else => {},
} }
} }