class Foo
def foo
if cond?
foo
else
# comment
end
end
# ...
def bar
if @recv
end_is_missing_here
end
end
Expected: Around end_is_missing_here is displayed
Actual:
error.rb: --> error.rb
Unmatched keyword, missing `end' ?
1 class Foo
2 def foo
> 3 if cond?
> 5 else
8 end
16 end
This might be a variant of #177.