| ... | ... | @@ -1066,7 +1066,10 @@ pub const DeclGen = struct { |
| 1066 | 1066 | var index: usize = 0; |
| 1067 | 1067 | while (index < ai.len) : (index += 1) { |
| 1068 | 1068 | const elem_val = try val.elemValue(dg.module, arena_allocator, index); |
| 1069 | | const elem_val_u8 = @intCast(u8, elem_val.toUnsignedInt(target)); |
| 1069 | const elem_val_u8 = if (elem_val.isUndef()) |
| 1070 | undefPattern(u8) |
| 1071 | else |
| 1072 | @intCast(u8, elem_val.toUnsignedInt(target)); |
| 1070 | 1073 | try writeStringLiteralChar(writer, elem_val_u8); |
| 1071 | 1074 | } |
| 1072 | 1075 | if (ai.sentinel) |s| { |