lib/rbi/parser.rb in rbi-0.1.6 vs lib/rbi/parser.rb in rbi-0.1.7
- old
+ new
@@ -848,10 +848,10 @@
sig { override.params(node: Prism::AssocNode).void }
def visit_assoc_node(node)
@current.params << SigParam.new(
node_string!(node.key).delete_suffix(":"),
- node_string!(T.must(node.value)),
+ node_string!(node.value),
)
end
end
end
end