ruff
96b3c400 - [red-knot] Minor follow-up on slice expression inference (#13982)

Commit
1 year ago
[red-knot] Minor follow-up on slice expression inference (#13982) ## Summary Minor follow-up to #13917 — thanks @AlexWaygood for the post-merge review. - Add SliceLiteralType::as_tuple - Use .expect() instead of SAFETY comment - Match on ::try_from result - Add TODO comment regarding raising a diagnostic for `"foo"["bar":"baz"]`
Author
Parents
Loading