lib/tapioca/rbi_ext/model.rb in tapioca-0.9.2 vs lib/tapioca/rbi_ext/model.rb in tapioca-0.9.3
- old
+ new
@@ -99,10 +99,10 @@
private
sig { returns(T::Hash[String, RBI::Node]) }
def nodes_cache
- T.must(@nodes_cache ||= T.let({}, T.nilable(T::Hash[String, Node])))
+ @nodes_cache ||= T.let({}, T.nilable(T::Hash[String, Node]))
end
sig { params(node: RBI::Node).returns(RBI::Node) }
def create_node(node)
cached = nodes_cache[node.to_s]