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

Better errors when arguments reordered #11271

Merged

Conversation

hauleth
Copy link
Contributor

@hauleth hauleth commented Sep 23, 2021

Earlier it was throwing ArithmeticError which seems confusing, instead now it will fail on function clause which should give user better feedback that the arguments are in wrong order.

Earlier it was throwing `ArithmeticError` which seems confusing, instead
now it will fail on function clause which should give user better
feedback that the arguments are in wrong order.
@josevalim josevalim merged commit 523e47b into elixir-lang:master Sep 23, 2021
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@josevalim josevalim deleted the fix/better-errors-on-List.key-functions branch September 23, 2021 09:38
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.

None yet

2 participants