Skip to content

Conversation

@bishabosha
Copy link
Member

Require same type for names. A possible other formulation could compare name types with =:= evidence, but this only benefits error messages with an explicit summon for CanEqual, and users would likely identify that the name fields dont match anyway.

@bishabosha bishabosha requested a review from a team as a code owner January 4, 2026 11:17
@bishabosha bishabosha added the area:library Standard library label Jan 4, 2026
Require same type for names. A possible other formulation could
compare name types with `=:=` evidence, but this only benefits error messages with
an explicit summon for CanEqual, and users would likely identify that the name fields dont match anyway.
@bishabosha bishabosha force-pushed the named-tuples-strictEquality branch from 24bddc9 to 6d5eb16 Compare January 5, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:library Standard library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant