Skip to content

Fix #6864. include? on an String Range always returns true.#6866

Merged
enebo merged 1 commit intojruby:masterfrom
enebo:fix_6864
Sep 29, 2021
Merged

Fix #6864. include? on an String Range always returns true.#6866
enebo merged 1 commit intojruby:masterfrom
enebo:fix_6864

Conversation

@enebo
Copy link
Member

@enebo enebo commented Sep 29, 2021

Looks like during a refactoring strings >1 char passed beg as
test value instead of the actual test value.

Looks like during a refactoring strings >1 char passed beg as
test value instead of the actual test value.
@enebo enebo added this to the JRuby 9.3.1.0 milestone Sep 29, 2021
@enebo enebo merged commit c4bcd4a into jruby:master Sep 29, 2021
@@ -0,0 +1,20 @@
diff --git a/core/src/main/java/org/jruby/ir/IREvalScript.java b/core/src/main/java/org/jruby/ir/IREvalScript.java
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@enebo what is this diff file used for?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@edipofederle HAHAHA. thanks I don't know how I ended up committing that file.

@enebo enebo deleted the fix_6864 branch March 4, 2025 18:35
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