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

Clean up Usage of rb_check_convert_type(...) #31

Merged
merged 2 commits into from
Aug 2, 2018

Conversation

toddsundsted
Copy link
Contributor

Replace with rb_convert_type(...), which automatically raises TypeError.

I added a test for the obvious/easy to test case: a.reshape({1 => 2}).

Todd Sundsted added 2 commits July 22, 2018 22:06
Replace with `rb_convert_type(...)`, which automatically raises
`TypeError`.
@mrkn mrkn self-assigned this Aug 1, 2018
@mrkn mrkn merged commit d3d5a89 into mrkn:master Aug 2, 2018
@mrkn
Copy link
Owner

mrkn commented Aug 2, 2018

@toddsundsted thank you very much!

@mrkn mrkn added the bug label Aug 2, 2018
@toddsundsted toddsundsted deleted the rb-convert-type branch August 2, 2018 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants