Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -94,8 +94,9 @@ protected void unsafeSetSuperclass(RubyClass superClass) {

@Override
public void initCopy(RubyModule other) {
super.initCopy(other);
assert other instanceof RubyClass;
super.initCopy(other);
this.allocator = ((RubyClass) other).allocator;
}

private RubyClass ensureSingletonConsistency() {

0 comments on commit e92392d

Please sign in to comment.