Open segiddins opened 4 days ago
Thank you for the report, we'll look into it.
Do you need it for a particular gem or usage?
Yes, joeldrapper/literal uses it to "freeze" classes once they're done being defined
@eregon thank you. I replied to your comments in the thread on the literal repo. I think we can just disable this feature for TruffleRuby. It’s not essential, it’s just nice to know that Enums are constant — defined once at boot and never updated during runtime.
It is called on cruby when a class or module block is closed