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
MRI manages the frame's self differently, just saving it into the
binding and then putting it in the sole global state field that
represents the current thread's active frame. In our case, we use
the entire Frame object as a carrier for frame data, so we need
to keep the object the same for mutable frame fields like backref
to propagate. As a result, the only fix possible for this on 1.7
is to change the self back after instance_eval.
We may be able to fix this better on master, where the runtime
has been restructured and may support a more correct notion of the
current frame's self.
Test Code
Expected Results (based on tests with MRI 1.9.3, 2.0.0 and 2.1.1):
Actual results (same with both jruby 1.7.10 and 1.7.11):
The text was updated successfully, but these errors were encountered: