Skip to content

Fixes JRuby #1047 - incorrect test for whether a kw arg was provided.#1048

Closed
97jaz wants to merge 1 commit intojruby:masterfrom
97jaz:1047-kwargs
Closed

Fixes JRuby #1047 - incorrect test for whether a kw arg was provided.#1048
97jaz wants to merge 1 commit intojruby:masterfrom
97jaz:1047-kwargs

Conversation

@97jaz
Copy link
Contributor

@97jaz 97jaz commented Sep 30, 2013

Formerly, the code attempted to extract the argument value from the
hash of provided values and test it against nil. This fails in the
case of an explicitly passed nil. The new version instead tests
whether the hash contains the desired key.

Fixes #1047

Formerly, the code attempted to extract the argument value from the
hash of provided values and test it against nil. This fails in the
case of an explicitly passed nil. The new version instead tests
whether the hash contains the desired key.
@97jaz
Copy link
Contributor Author

97jaz commented Sep 30, 2013

Closing in favor of #1054

@97jaz 97jaz closed this Sep 30, 2013
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.

Passing nil as the value of a keyword argument causes JRuby to act as if there were no such keyword argument

1 participant