Skip to content

Commit

Permalink
Handle prepended shims like included shims
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Feb 26, 2024
1 parent 9a951a2 commit 9565562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyClass.java
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ private void concreteSubclasses(Collection<RubyClass> subs) {
Set<RubyClass> keys = subclasses.keySet();
for (RubyClass klass: keys) {
if (klass.isSingleton()) continue;
if (klass.isIncluded()) {
if (klass.isIncluded() || klass.isPrepended()) {
klass.concreteSubclasses(subs);
continue;
}
Expand Down

0 comments on commit 9565562

Please sign in to comment.