From 71673464616fdd2bf80da082a90004a3da381b1c Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Wed, 28 Feb 2024 18:55:34 +0100 Subject: [PATCH] [ruby/prism] More precise types for NodeListField in prism.rbi https://github.com/ruby/prism/commit/b7959295e9 --- prism/templates/template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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