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

Cast potentially matched locale to string #6

Merged
merged 1 commit into from
May 8, 2018

Conversation

adam12
Copy link
Contributor

@adam12 adam12 commented Jul 21, 2017

Without this cast, a root block below the locale block will never be reached due to an exception of calling downcase on nil.

I didn't add a new spec as moving the r.root call to the bottom of the block was enough to trigger the failure.

Without this cast, a root block below the locale block will never be
reached due to an exception of calling downcase on nil.
@kematzy kematzy merged commit 4e1b813 into kematzy:master May 8, 2018
@kematzy
Copy link
Owner

kematzy commented May 8, 2018

Great catch!! Thanks a lot for this PR and my apologies for delayed inclusion or response.

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.

2 participants