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

String#include? no longer accepts a Fixnum. #3274

Merged
merged 1 commit into from Jan 5, 2015
Merged

String#include? no longer accepts a Fixnum. #3274

merged 1 commit into from Jan 5, 2015

Conversation

chrisseaton
Copy link
Contributor

I think back in 1.8 it would turn the lower 8 bits of a Fixnum into a
String using .chr, but that doesn't seem to be the case any more, and
it's now a TypeError to pass in a Fixnum.

I think back in 1.8 it would turn the lower 8 bits of a Fixnum into a
String using .chr, but that doesn't seem to be the case any more, and
it's now a TypeError to pass in a Fixnum.
jemc added a commit that referenced this pull request Jan 5, 2015
String#include? no longer accepts a Fixnum.
@jemc jemc merged commit 3b398f4 into rubinius:master Jan 5, 2015
@jemc
Copy link
Member

jemc commented Jan 5, 2015

Looks good to me.
Thanks for the patch and spec!

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.

None yet

2 participants