[ruby-core:120503] [Ruby master Feature#21000] A way to avoid loading constant required by a type check