You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like somewhere between 1.9.3 and 2.2.2, MRI changed its behavior around overriding String#=~. JRuby 9.0.0.0.pre2 special-cases this behavior in:
It looks like somewhere between 1.9.3 and 2.2.2, MRI changed its behavior around overriding
String#=~
. JRuby 9.0.0.0.pre2 special-cases this behavior in:https://github.com/jruby/jruby/blob/9.0.0.0.pre2/core/src/main/java/org/jruby/ir/runtime/IRRuntimeHelpers.java#L577-L579
It looks like the correct behavior is to always do a dispatch to
=~
to pick up any overrides.E.g.,
MRI 2.2.2:
JRuby 9.0.0.0.pre2:
The text was updated successfully, but these errors were encountered: