Currently kind_of fails miserably, still looking for the reason
Also tried to fix it, however the problem lies with how aliased methods are done and their internal structure. mruby simply aliases methods by grabbing the RProc and giving it a new name, super then determines the original method to call by using the name so a method called m, aliased as m2, will call the m2 super method instead of m
Based on the gc patch by ko1 ruby/ruby@5922c95
Finally I took time to review this pull request. Sorry for being so late.
The PR seems fine except for on thing. You have added
If you are willing to address this issue, I'd love to wait. If you are not, I will take time to fix, but you may have to wait longer in this case.
Hi @matz, in the original pull request description we pointed out "RClass struct size is now bigger, because we needed to add origin, but that seems unavoidable."
I'd be happy to try and implement an alternative, however I have no idea how that would look like.