Skip to content

Add location slice to deconstruct_keys#4163

Merged
kddnewton merged 1 commit into
mainfrom
add-loc-slice
Jul 10, 2026
Merged

Add location slice to deconstruct_keys#4163
kddnewton merged 1 commit into
mainfrom
add-loc-slice

Conversation

@kddnewton

Copy link
Copy Markdown
Collaborator

It is nice to be able to slice out a location in pattern matching without having to explicitly get the location object and call slice manually.

Also, construct the response for deconstruct_keys lazily in order to avoid reifying location objects if we don't have to.

It is nice to be able to slice out a location in pattern matching
without having to explicitly get the location object and call
slice manually.

Also, construct the response for deconstruct_keys lazily in order
to avoid reifying location objects if we don't have to.
@kddnewton kddnewton merged commit 3024cb5 into main Jul 10, 2026
61 checks passed
@kddnewton kddnewton deleted the add-loc-slice branch July 10, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant