| ... | ... | @@ -1520,6 +1520,13 @@ pub const Type = extern union { |
| 1520 | 1520 | ) @TypeOf(writer).Error!void { |
| 1521 | 1521 | _ = options; |
| 1522 | 1522 | comptime assert(unused_format_string.len == 0); |
| 1523 | if (@import("builtin").zig_backend != .stage1) { |
| 1524 | // This is disabled to work around a stage2 bug where this function recursively |
| 1525 | // causes more generic function instantiations resulting in an infinite loop |
| 1526 | // in the compiler. |
| 1527 | try writer.writeAll("[TODO fix internal compiler bug regarding dump]"); |
| 1528 | return; |
| 1529 | } |
| 1523 | 1530 | var ty = start_type; |
| 1524 | 1531 | while (true) { |
| 1525 | 1532 | const t = ty.tag(); |