lib/rbs/definition_builder/ancestor_builder.rb in rbs-2.3.0 vs lib/rbs/definition_builder/ancestor_builder.rb in rbs-2.3.1
- old
+ new
@@ -396,9 +396,10 @@
location: entry.primary.decl.location)
building_ancestors.push self_ancestor
one_ancestors = one_instance_ancestors(type_name)
+ # @type var ancestors: Array[::RBS::Definition::Ancestor::t]
ancestors = []
case entry
when Environment::ClassEntry
if super_class = one_ancestors.super_class