| ... | @@ -424,6 +424,9 @@ fn formatType(value: anytype, comptime fmt: []const u8, options: FormatOptions, | ... | @@ -424,6 +424,9 @@ fn formatType(value: anytype, comptime fmt: []const u8, options: FormatOptions, |
| 424 | return formatAddress(value, options, writer); | 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 | if (std.meta.hasMethod(T, "nprint")) { | 430 | if (std.meta.hasMethod(T, "nprint")) { |
| 428 | return value.nprint(writer); | 431 | return value.nprint(writer); |
| 429 | } | 432 | } |