summaryrefslogtreecommitdiff
path: root/lib/prism/parse_result/errors.rb
diff options
context:
space:
mode:
-rw-r--r--lib/prism/parse_result/errors.rb2
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ module Prism
# Formats the errors in a human-readable way and return them as a string.
def format
- error_lines = {}
parse_result.errors.each do |error|
location = error.location
(location.start_line..location.end_line).each do |line|