| ... | ... | @@ -32598,7 +32598,7 @@ fn analyzeSlice( |
| 32598 | 32598 | ); |
| 32599 | 32599 | |
| 32600 | 32600 | if (try sema.compareScalar(start_value, .neq, end_value, Type.comptime_int)) { |
| 32601 | | if (try sema.compareScalar(start_value, .neq, InternPool.Index.zero.toValue(), Type.comptime_int)) { |
| 32601 | if (try sema.compareScalar(start_value, .neq, Value.zero_comptime_int, Type.comptime_int)) { |
| 32602 | 32602 | const err_msg = try sema.errMsg(block, start_src, bounds_error_message, .{}); |
| 32603 | 32603 | try sema.errNote( |
| 32604 | 32604 | block, |
| ... | ... | @@ -32611,7 +32611,7 @@ fn analyzeSlice( |
| 32611 | 32611 | }, |
| 32612 | 32612 | ); |
| 32613 | 32613 | return sema.failWithOwnedErrorMsg(block, err_msg); |
| 32614 | | } else if (try sema.compareScalar(end_value, .neq, InternPool.Index.one.toValue(), Type.comptime_int)) { |
| 32614 | } else if (try sema.compareScalar(end_value, .neq, Value.one_comptime_int, Type.comptime_int)) { |
| 32615 | 32615 | const err_msg = try sema.errMsg(block, end_src, bounds_error_message, .{}); |
| 32616 | 32616 | try sema.errNote( |
| 32617 | 32617 | block, |
| ... | ... | @@ -32626,7 +32626,7 @@ fn analyzeSlice( |
| 32626 | 32626 | return sema.failWithOwnedErrorMsg(block, err_msg); |
| 32627 | 32627 | } |
| 32628 | 32628 | } else { |
| 32629 | | if (try sema.compareScalar(end_value, .gt, InternPool.Index.one.toValue(), Type.comptime_int)) { |
| 32629 | if (try sema.compareScalar(end_value, .gt, Value.one_comptime_int, Type.comptime_int)) { |
| 32630 | 32630 | return sema.fail( |
| 32631 | 32631 | block, |
| 32632 | 32632 | end_src, |