-
-
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
Layout/ElseAlignment failed with "undefined method `line' for nil:NilClass" #5680
Labels
Comments
YukiJikumaru
changed the title
Layout/ElseAlignment occurs "undefined method `line' for nil:NilClass"
Layout/ElseAlignment failed with "undefined method `line' for nil:NilClass"
Mar 14, 2018
I tested this patch, fix this error and passed all test. |
8 tasks
YukiJikumaru
added a commit
to YukiJikumaru/rubocop
that referenced
this issue
Mar 15, 2018
This was referenced Mar 21, 2018
This was referenced Mar 21, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
rubocp should success without complaint.
Actual behavior
rubocp failed and "undefined method `line' for nil:NilClass" occurs.
Steps to reproduce the problem
RuboCop version
memo https://bugs.ruby-lang.org/issues/12906
The text was updated successfully, but these errors were encountered: