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

Remove RetryNode. #69

Merged
merged 1 commit into from
Jul 20, 2020
Merged

Remove RetryNode. #69

merged 1 commit into from
Jul 20, 2020

Conversation

marcandre
Copy link
Contributor

This node was severely broken, e.g. #arguments? raised a NoMethodError.
I find it has nothing to do with a MethodDispatchMethod (since it
doesn't call a method), nor a ParameterizedNode (since it accepts no
argument); best remove the node altogether.

@marcandre marcandre force-pushed the dont_retry branch 4 times, most recently from 703c52c to 28ec9c2 Compare July 18, 2020 03:53
This node was severely broken, e.g. `#arguments?` raised a `NoMethodError`.
I find it has nothing to do with a `MethodDispatchMethod` (since it
doesn't call a method), nor a `ParameterizedNode` (since it accepts no
argument); best remove the specialized node class altogether.
@marcandre
Copy link
Contributor Author

See #71 for discussion if it would be useful to have receiver return nil and method_name return :retry

@marcandre marcandre merged commit 08d0f49 into rubocop:master Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants