| author | |
| committer | |
| log | c50f286c78a4a9704ac3f9fecd7c351e7da89e02 |
| tree | ba7ba7cc4babe910d1758c69b6be171bb5260f6f |
| parent | 4318aeb6e24e89245917e9b011892b944c26bea3 |
| signature |
1 files changed, 3 insertions(+), 0 deletions(-)
fmt.zig+3| ... | ... | @@ -424,6 +424,9 @@ fn formatType(value: anytype, comptime fmt: []const u8, options: FormatOptions, |
| 424 | 424 | return formatAddress(value, options, writer); |
| 425 | 425 | } |
| 426 | 426 | |
| 427 | if (comptime std.meta.hasMethod(T, "format")) { | |
| 428 | @compileError("fix this: " ++ @typeName(T)); | |
| 429 | } | |
| 427 | 430 | if (std.meta.hasMethod(T, "nprint")) { |
| 428 | 431 | return value.nprint(writer); |
| 429 | 432 | } |