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

Make OverflowError's message a bit more detailed #7375

Merged
merged 1 commit into from
Feb 6, 2019

Conversation

wooster0
Copy link
Contributor

@wooster0 wooster0 commented Feb 4, 2019

This changes the error message to "Arithmetic overflow". Whenever I look at it, it feels so empty. Like there's something missing. Also currently it's the only error message which has only one word as the message and is thus IMO the most undescriptive one. It could also be confused with a stack overflow.

CC @bcardiff

@sdogruyol sdogruyol merged commit 7b7f285 into crystal-lang:master Feb 6, 2019
@sdogruyol sdogruyol added this to the 0.28.0 milestone Feb 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants