lib/tapioca/dsl/compiler.rb in tapioca-0.11.13 vs lib/tapioca/dsl/compiler.rb in tapioca-0.11.14
- old
+ new
@@ -34,10 +34,10 @@
def gather_constants; end
sig { returns(T::Set[Module]) }
def processable_constants
@processable_constants ||= T.let(
- T::Set[Module].new(gather_constants).compare_by_identity,
+ T::Set[Module].new.compare_by_identity.merge(gather_constants),
T.nilable(T::Set[Module]),
)
end
private