aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2024-07-16 19:48:05 +0100
committermlugg <mlugg@mlugg.co.uk>2024-07-16 19:48:05 +0100
commit6bd640c7a0866d7069ed68140afd894c6613e3da (patch)
tree11bf705f8c7ecfd5cbb1988a0cfb8e3f8f54227a /src/Sema.zig
parent21cde7ad90a033b775fdf0a5c3477fa289c51ef5 (diff)
downloadzig-6bd640c7a0866d7069ed68140afd894c6613e3da.tar.gz
zig-6bd640c7a0866d7069ed68140afd894c6613e3da.zip
Sema: typo
Diffstat (limited to 'src/Sema.zig')
-rw-r--r--src/Sema.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index 7f716a169d..2b43b75132 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -30007,7 +30007,7 @@ const InMemoryCoercionResult = union(enum) {
},
.comptime_int_not_coercible => |int| {
try sema.errNote(src, msg, "type '{}' cannot represent value '{}'", .{
- int.wanted.fmt(pt), int.actual.fmtValue(pt),
+ int.wanted.fmt(pt), int.actual.fmtValueSema(pt, sema),
});
break;
},