summaryrefslogtreecommitdiff
path: root/lib/prism/parse_result.rb
diff options
context:
space:
mode:
authorKevin Newton <[email protected]>2024-02-05 15:41:46 -0500
committergit <[email protected]>2024-02-07 16:54:34 +0000
commitaad3c36bdfe68c429cf612542a7eb3c94c17c483 ()
tree70cff5280c6d97d131501a9e8dc774c33ac3e31c /lib/prism/parse_result.rb
parentaed052ce9d9eeeccecb12c444aa7327d1e078a51 (diff)
[ruby/prism] Support for Ruby 2.7
https://.com/ruby/prism/commit/1a15b70a8e
-rw-r--r--lib/prism/parse_result.rb3
1 files changed, 2 insertions, 1 deletions
@@ -91,7 +91,8 @@ module Prism
class Location
# A Source object that is used to determine more information from the given
# offset and length.
- protected attr_reader :source
# The byte offset from the beginning of the source where this location
# starts.