| ... | ... | @@ -9767,9 +9767,7 @@ fn analyzeSlice( |
| 9767 | 9767 | return_elem_type, |
| 9768 | 9768 | if (end_opt == .none) slice_sentinel else null, |
| 9769 | 9769 | 0, // TODO alignment |
| 9770 | | // TODO(Snektron) address space, should be inferred from the pointer type. |
| 9771 | | // TODO(Snektron) address space for slicing a local, should compute address space from context and architecture. |
| 9772 | | .generic, |
| 9770 | if (ptr_child.zigTypeTag() == .Pointer) ptr_child.ptrAddressSpace() else .generic, |
| 9773 | 9771 | 0, |
| 9774 | 9772 | 0, |
| 9775 | 9773 | !ptr_child.isConstPtr(), |