-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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 Co-authored-by: masatoshi_moritsuka <yakiyaki_ikayaki@yahoo.co.jp>
- Loading branch information
1 parent
2c85e6a
commit e303401
Showing
4 changed files
with
72 additions
and
7 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...log/fix_fix_unexpected_nonlocal_exits_on_rubocop_ast_node_parent_module_name.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* [#176](https://github.com/rubocop-hq/rubocop-ast/pull/176): Fix unexpected non-local exits on Rubocop::AST::Node#parent_module_name. ([@sanfrecce-osaka][]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters