You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And so Object.constants.collect { |x| Object.const_get x } fails with wrong constant name fatal.
We should filter out constants with a lowercase name for Module#constants.
Avoiding attaching fatal as a constant of Object doesn't seem a proper fix because I think it can be queried from C exts, and on CRuby (on TruffleRuby too) there are also namespaced lowercase constants:
Found by @fniephaus
And so
Object.constants.collect { |x| Object.const_get x }
fails withwrong constant name fatal
.We should filter out constants with a lowercase name for Module#constants.
Avoiding attaching fatal as a constant of
Object
doesn't seem a proper fix because I think it can be queried from C exts, and on CRuby (on TruffleRuby too) there are also namespaced lowercase constants:@bjfish Could you fix it?
The text was updated successfully, but these errors were encountered: