aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-10-15 15:15:06 +0100
committermlugg <mlugg@mlugg.co.uk>2024-10-19 19:15:24 +0100
commitd466c08e054e4595eb21e7810beeabde2a70f262 (patch)
treebd90adcd8b7294b07a78a32da3228f0946d49c4d /src
parentcb48376bec1957997532c627db2caf2dc970c397 (diff)
downloadzig-d466c08e054e4595eb21e7810beeabde2a70f262.tar.gz
zig-d466c08e054e4595eb21e7810beeabde2a70f262.zip
Sema: minor cleanup
Diffstat (limited to 'src')
-rw-r--r--src/Sema.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index a3ffe1bc3a..7ff04ef9ea 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -9877,8 +9877,8 @@ fn funcCommon(
.avr_interrupt,
.csky_interrupt,
.m68k_interrupt,
+ .avr_signal,
=> 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 => {},
}
}