Sitelet https://github.com/jruby/jruby/pull/6785
Skip to content

Fixes #6271. Prepending a module hides module's constants - #6785

Merged
enebo merged 4 commits into
jruby:masterfrom
enebo:fix_6271
Aug 25, 2021
Merged

enebo merged 4 commits into
jruby:masterfrom
enebo:fix_6271

Conversation

@enebo

@enebo enebo commented Aug 24, 2021 •

Copy link
Copy Markdown
Member

In addition to fixing constants on modules which have been prepended being unable to find constants I stuffed a bonus fix for prepend and Method#owner not returning the origin (trivial).

@enebo enebo added this to the JRuby 9.3.0.0 milestone Aug 24, 2021
@enebo
enebo merged commit b8987dc into jruby:master Aug 25, 2021
@enebo
enebo deleted the fix_6271 branch August 25, 2021 17:33
@headius headius mentioned this pull request Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants