-
-
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
MultilineIfThen raising NoMethodError `source_buffer' for nil:NilClass #316
Comments
Can you provide the content of |
I cannot. I will further attempt to provide a reproduction when I get a chance later today. |
Ok. I have a repro. This one is brought to you by "FOR THE LOVE OF ALL THAT IS HOLY, WHY!?" # encoding: utf-8
condition_one = true
condition_two = false
if condition_two
# do something
end unless condition_one |
bbatsov
added a commit
that referenced
this issue
Jul 2, 2013
Fix multiline if special case with postfix unless #316
edzhelyov
added a commit
that referenced
this issue
Jul 2, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately I can't provide more than this stack trace at the moment; this is occurring in many places, and my brief attempts to isolate the offending code (e.g., one offending file only has one if statement, so I extracted it) have not reproduced the exception.
With the following backtrace:
The text was updated successfully, but these errors were encountered: