diff options
| author | gazayas <g-zayas@hotmail.com> | 2023-10-04 20:14:36 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2023-10-04 17:00:09 +0000 |
| commit | 488c0ed051902623ecae4b5358401b0c73dcb8e0 (patch) | |
| tree | c18cd27fe12732a2e099ee886704403b0223171d | |
| parent | 6ae2996e291750bab4ff59a06ba11c8d6bbe5aaa (diff) | |
[ruby/prism] Remove trailing parenthesis in Location#pretty_print
https://github.com/ruby/prism/commit/8eaa199a28
| -rw-r--r-- | lib/prism/parse_result.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prism/parse_result.rb b/lib/prism/parse_result.rb index fafa1ae15f..b5e6643e6d 100644 --- a/lib/prism/parse_result.rb +++ b/lib/prism/parse_result.rb @@ -117,7 +117,7 @@ module Prism end def pretty_print(q) - q.text("(#{start_line},#{start_column})-(#{end_line},#{end_column}))") + q.text("(#{start_line},#{start_column})-(#{end_line},#{end_column})") end def ==(other) |
