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 caller file and line to Nil#not_nil! #6712

Conversation

mariakimheinert
Copy link
Contributor

Facilitates debugging of failing not_nil! assertions. Super useful because the stack trace is sometimes difficult to read and this shows exactly where the failing not_nil! assertion is coming from.

Facilitates debugging of failing nil assertions
Copy link
Member

@sdogruyol sdogruyol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @yeeunmariakim 👍

@sdogruyol sdogruyol merged commit 9c2e741 into crystal-lang:master Sep 13, 2018
@sdogruyol sdogruyol added this to the 0.27.0 milestone Sep 13, 2018
ezrast pushed a commit to ezrast/crystal that referenced this pull request Oct 2, 2018
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.

5 participants