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

Remove redundant calls to Object.to_s in interpolation #8947

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

veelenga
Copy link
Contributor

Each expression enclosed by #{ ... } ends up invoking Object.to_s, so here we remove redundant calls to .to_s in a couple of places.

Autodetected by crystal-ameba/ameba#137

@bcardiff bcardiff added this to the 0.34.0 milestone Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants