-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
EmptyLinesAroundAccessModifier: autocorrect hangs on a function that looks like a modifier #1484
Comments
Spec: dblock@01c4b7d TBH I don't see how to fix it, but in this case |
Checking that the parent is a |
Made a bit of progress in dblock@565b603, only one spec to go.
This one is harder, we have a block that creates a Module (or a class). The AST is like this:
Is there already a way to identify things like these before I reinvent the wheel? |
Running
|
Yes @dyatlov that's what I am trying to fix. |
@dblock Take a look at |
I PRed a solution to prevent future infinite loops in #1492. |
… violation inside method calls with names identical to an access modifier.
Tries to align
public
back and forth. Still working on a spec.The text was updated successfully, but these errors were encountered: