Skip to content

Commit

Permalink
Revert "Pass frame name through as method name"
Browse files Browse the repository at this point in the history
This reverts commit b7ce7d1.

This needs to be examined because it ended up with a null frame
name from somewhere and binding.getMethod does not match frame
name for unknown reasons.
  • Loading branch information
headius committed May 8, 2024
1 parent 8ca1579 commit f66bd9f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public static IRubyObject evalWithBinding(ThreadContext context, IRubyObject sel
Frame lastFrame = context.preEvalWithBinding(binding);
try {
return evalCommon(context, evalScope, self, src, binding.getFile(),
binding.getLine(), binding.getFrame().getName(), binding.getFrame().getBlock(), EvalType.BINDING_EVAL, bindingGiven);
binding.getLine(), binding.getMethod(), binding.getFrame().getBlock(), EvalType.BINDING_EVAL, bindingGiven);
} finally {
context.postEvalWithBinding(binding, lastFrame);
}
Expand Down

0 comments on commit f66bd9f

Please sign in to comment.