Skip to content
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

Fix hidden bug in rb_feature_p #63

Closed
wants to merge 1 commit into from

Commits on Dec 8, 2011

  1. Fix hidden bug in rb_feature_p

    lazy assigned load_path searched in loading_table were not expanded (line ruby#186),
    but all features, pushed to loading table, are expanded.
    
    This bug is hidden because load_path is allways filled in loaded_features loop (line ruby#160),
    but if we try to optimize this loop (http://redmine.ruby-lang.org/issues/5427), 
    then load_path could be not filled, and bug exposed.
    funny-falcon committed Dec 8, 2011
    Copy the full SHA
    3ba7525 View commit details
    Browse the repository at this point in the history