Skip to content

__callee__ behaves differently from MRI #2305

@guai

Description

@guai

jruby 1.7.13 and 1.7.16.1 both in --2.0 mode

class Foo
    def foo
        {__method__ => __callee__}
    end
    alias bar foo
end
raise 'fail' if Foo.new.foo == Foo.new.bar

They must not be equal.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions