alias should not set defined_class for Modules
alias
defined_class
me->defined_class should be 0 for method entries of Modules.
me->defined_class
This patch checks this condition and fix https://github.com/ruby/ruby/pull/11965#issuecomment-2448291790
alias
should not setdefined_class
for Modulesme->defined_class
should be 0 for method entries ofModules.
This patch checks this condition
and fix https://github.com/ruby/ruby/pull/11965#issuecomment-2448291790