Skip to content

Fix error message in Hash#fetch#4730

Merged
headius merged 1 commit intojruby:masterfrom
rawrafox:fix-hash-fetch-error-message
Aug 7, 2017
Merged

Fix error message in Hash#fetch#4730
headius merged 1 commit intojruby:masterfrom
rawrafox:fix-hash-fetch-error-message

Conversation

@rawrafox
Copy link
Contributor

In Hash#fetch, the old error message assumed the key was a symbol. Instead we
inspect it like in MRI. This closes #4729.

In Hash#fetch, the old error message assumed the key was a symbol. Instead we
inspect it like in MRI. This closes jruby#4729.
@kares kares added this to the JRuby 9.2.0.0 milestone Aug 4, 2017
@headius headius merged commit 30783af into jruby:master Aug 7, 2017
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.

KeyError message renders String keys as Symbols

3 participants