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 unexpected non-local exits on Rubocop::AST::Node#parent_module_name #176

Commits on Apr 4, 2021

  1. Fix unexpected non-local exits on Rubocop::AST::Node#parent_module_name

    With this PR, when Rubocop::AST::Node#parent_module_name_part is executed, it will no longer do non-local exits when a block is evaluated, and evaluating singleton_class or block in Rubocop::AST::Node#parent_module_name will behave as expected.
    With this change, this PR aims to resolve the following issue.
    
    rubocop/rubocop#5022
    sanfrecce-osaka committed Apr 4, 2021
    Configuration menu
    Copy the full SHA
    c9e323e View commit details
    Browse the repository at this point in the history