| ... | ... | @@ -3754,6 +3754,7 @@ pub fn getCoerced(ip: *InternPool, gpa: Allocator, val: Index, new_ty: Index) Al |
| 3754 | 3754 | .c_ulong, |
| 3755 | 3755 | .c_longlong, |
| 3756 | 3756 | .c_ulonglong, |
| 3757 | .comptime_int, |
| 3757 | 3758 | => return getCoercedInts(ip, gpa, int, new_ty), |
| 3758 | 3759 | else => {}, |
| 3759 | 3760 | }, |
| ... | ... | @@ -3790,6 +3791,11 @@ pub fn getCoerced(ip: *InternPool, gpa: Allocator, val: Index, new_ty: Index) Al |
| 3790 | 3791 | }, |
| 3791 | 3792 | else => {}, |
| 3792 | 3793 | } |
| 3794 | if (std.debug.runtime_safety) { |
| 3795 | std.debug.panic("val={any} new_ty={any}\n", .{ |
| 3796 | ip.items.get(@enumToInt(val)), ip.items.get(@enumToInt(new_ty)), |
| 3797 | }); |
| 3798 | } |
| 3793 | 3799 | unreachable; |
| 3794 | 3800 | } |
| 3795 | 3801 | |