• Yukihiro "Matz" Matsumoto's avatar
    Fix `super` from aliased methods to work correctly; fix #4718 · ca2d47c2
    Yukihiro "Matz" Matsumoto authored
    We needed to preserve the original method name somewhere. We kept it in
    the `env` structure pointed from aliased methods. #1457 and #1531 tried
    to address this issue. But this patch is more memory efficient.
    
    Limitation: this fix does not support `super` from methods defined by
    `define_method`. This limitation may be addressed in the future, but
    it's low priority.
    ca2d47c2
vm.c 73.7 KB