[ruby/error_highlight] Trim trailing spaces in base.rb
https://github.com/ruby/error_highlight/commit/8ce3f6f145
This commit is contained in:
parent
40ec860de7
commit
51bb5dcd2e
@ -749,7 +749,7 @@ module ErrorHighlight
|
|||||||
def prism_spot_local_variable_operator_write_for_name
|
def prism_spot_local_variable_operator_write_for_name
|
||||||
prism_location(@node.binary_operator_loc.chop)
|
prism_location(@node.binary_operator_loc.chop)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Example:
|
# Example:
|
||||||
# x += 1
|
# x += 1
|
||||||
# ^
|
# ^
|
||||||
@ -842,7 +842,7 @@ module ErrorHighlight
|
|||||||
prism_location(location)
|
prism_location(location)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Example:
|
# Example:
|
||||||
# Foo::Bar += 1
|
# Foo::Bar += 1
|
||||||
# ^^^^^^^^
|
# ^^^^^^^^
|
||||||
|
Loading…
x
Reference in New Issue
Block a user