lib/rbs/definition_builder.rb in rbs-2.8.1 vs lib/rbs/definition_builder.rb in rbs-2.8.2
- old
+ new
@@ -261,10 +261,10 @@
end
end
end
one_ancestors.each_prepended_module do |mod|
- defn = build_instance(mod.name)
+ defn = build_instance(mod.name, no_self_types: true)
merge_definition(src: defn,
dest: definition,
subst: Substitution.build(defn.type_params, mod.args))
end
end