Commit 6bd640c7a0

mlugg <mlugg@mlugg.co.uk>
2024-07-16 20:48:05
Sema: typo
1 parent 21cde7a
Changed files (1)
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;
             },