Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add map normalization case #13997

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

gldubc
Copy link
Member

@gldubc gldubc commented Nov 15, 2024

The difference of two maps whose fields are the same but for one is equal to the first map, but with its differing field being subtracted the second map's field. This leads to printing simpler map types

e.g. %{a: number(), b: atom(), c: pid()} and not %{a: integer(), b: atom(), c: pid()} prints as %{a: float(), b: atom(), c: pid()}

@josevalim josevalim merged commit d7f8578 into elixir-lang:main Nov 15, 2024
12 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@josevalim josevalim deleted the map-normalization branch November 15, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants