-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$LOADED_FEATURES.clear does not appear to clear internal set #413
Comments
You addressed this in 10e6ea3, but reverted it in c325605 and then filed this issue. However, if I apply the first patch you had, your test case works:
What was the "Something's not right here" that caused you to revert? |
This is still valid in JRuby 9.1 and should be fixed. |
since this special array uses an internal set for speed resolves jruby#413
wasn't fixed in the end - also needed some test tuning as some of the tests influenced others. |
We have an internal set in the $LOADED_FEATURES array that allows include? and friends to be O(1) complexity. However, it seems like it's not being cleared properly for some of the Array methods like #clear:
The text was updated successfully, but these errors were encountered: