👋 reported the same issue [for jruby](https://github.com/jruby/jruby/issues/8867), and can observe the same thing happening when using truffleruby 24.2.1. Expected Behavior Given the following snippet, I'd expect the const not to be defined: ```ruby Object.const_set :Bang, Module.new p Object.const_defined?("Bang::Struct") #=>should be false ``` Actual Behavior The snippet above returns true, false in cruby. The latter is correct.