Sema: ensure `slice_ptr` produces the correct type

Closes #18345
d312665803Jacob Young committed on 12/23/2023, 7:08:58 AMparent21ae648
2 files changedLine totals unavailable