Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix edge case in findMethodInstanceContainer codeo
* Looks like we can have scenarios where 'self' for a closure executed in a module_eval context need not be the module but a different object. In that case, we still need to add the method to self => we need to get its metaclass first. * This fixes crasher in this case: ------------- require "minitest/autorun" describe "A" do it "should do something" do def foo end end end -------------