summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-05-10 10:29:12 -0400
committergit <svn-admin@ruby-lang.org>2024-05-10 14:47:21 +0000
commit34e0b5b2d419840f4e97cdf8fffcbc3578a5f7a3 (patch)
tree1854e99e6076af17e840cc33efb37765c55412ca /lib
parent2bc309e7f31222d626bb0e1acef2c8b2b3f9d32c (diff)
[ruby/prism] Fix tapioca require order
https://github.com/ruby/prism/commit/15bf727881
Diffstat (limited to 'lib')
-rw-r--r--lib/prism/parse_result/comments.rb2
-rw-r--r--lib/prism/parse_result/newlines.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/prism/parse_result/comments.rb b/lib/prism/parse_result/comments.rb
index f8f74d2503..3fa0603d74 100644
--- a/lib/prism/parse_result/comments.rb
+++ b/lib/prism/parse_result/comments.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module Prism
- class ParseResult
+ class ParseResult < Result
# When we've parsed the source, we have both the syntax tree and the list of
# comments that we found in the source. This class is responsible for
# walking the tree and finding the nearest location to attach each comment.
diff --git a/lib/prism/parse_result/newlines.rb b/lib/prism/parse_result/newlines.rb
index 927c17fe2f..4a8151cc09 100644
--- a/lib/prism/parse_result/newlines.rb
+++ b/lib/prism/parse_result/newlines.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module Prism
- class ParseResult
+ class ParseResult < Result
# The :line tracepoint event gets fired whenever the Ruby VM encounters an
# expression on a new line. The types of expressions that can trigger this
# event are: