summaryrefslogtreecommitdiff
path: root/include/ruby/assert.h
diff options
context:
space:
mode:
authorSatoshi Tagomori <s-tagomori@sakura.ad.jp>2025-12-30 14:46:19 +0900
committerSatoshi Tagomori <tagomoris@gmail.com>2025-12-30 17:06:34 +0900
commitd5af8d785888f3af5efb844be5948df71d777b22 (patch)
tree7d2a6486521dc002366be17e8f6d94b49353d16b /include/ruby/assert.h
parent65634d8df57ea1636efffb5f040fa31c156d307f (diff)
Box: allocate classes as boxable when it happens in the root box
Without this change, classes (including iclass) are allocated as un-boxable classes after initializing user boxes (after starting script evaluation). Under this situation, iclasses are created as un-boxabled class when core modules are included by a class in the root box, then it causes problems because it's in the root box but it can't have multiple classexts. This change makes it possible to allocate boxable classes even after initializing user boxes. Classes create in the root box will be boxable, and those can have 2 or more classexts.
Diffstat (limited to 'include/ruby/assert.h')
0 files changed, 0 insertions, 0 deletions