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

Fixed issue where KeywordArgs is not checked if it is a hash. #234

Merged
merged 2 commits into from
Mar 17, 2016
Merged

Conversation

dpad
Copy link
Contributor

@dpad dpad commented Mar 17, 2016

This leads to issues when methods are overloaded, because when the
KeywordArgs gets checked on a non-hash argument, it raises an exception
rather than failing properly.

This leads to issues when methods are overloaded, because when the
KeywordArgs gets checked on a non-hash argument, it raises an exception
rather than failing properly.
@waterlink
Copy link
Collaborator

Thanks @dpad

Could you please add this edge case to our test suite?

@waterlink
Copy link
Collaborator

@egonSchiele
Copy link
Owner

Tests would be great. Thank you for the fix @dpad !

@dpad
Copy link
Contributor Author

dpad commented Mar 17, 2016

Added a test that fails without the fix, succeeds with.

egonSchiele added a commit that referenced this pull request Mar 17, 2016
Fixed issue where KeywordArgs is not checked if it is a hash.
@egonSchiele egonSchiele merged commit 8e58563 into egonSchiele:master Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants