summaryrefslogtreecommitdiff
path: root/prism
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2024-02-28 18:55:34 +0100
committergit <svn-admin@ruby-lang.org>2024-02-28 18:30:44 +0000
commit71673464616fdd2bf80da082a90004a3da381b1c (patch)
tree9adc3dcd86863578543580ca0efa2ec4f317f81c /prism
parent2143789a3311f70f28dbbd6921ca9a42f47bea80 (diff)
[ruby/prism] More precise types for NodeListField in prism.rbi
https://github.com/ruby/prism/commit/b7959295e9
Diffstat (limited to 'prism')
-rwxr-xr-xprism/templates/template.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/prism/templates/template.rb b/prism/templates/template.rb
index e0081612b1..466718e17b 100755
--- a/prism/templates/template.rb
+++ b/prism/templates/template.rb
@@ -157,7 +157,7 @@ module Prism
end
def rbi_class
- "T::Array[Prism::Node]"
+ "T::Array[Prism::#{ruby_type}]"
end
def java_type