lib/tapioca/dsl/compiler.rb in tapioca-0.7.0 vs lib/tapioca/dsl/compiler.rb in tapioca-0.7.1
- old
+ new
@@ -52,10 +52,10 @@
def self.gather_constants; end
sig { returns(T::Set[Module]) }
def self.processable_constants
@processable_constants ||= T.let(
- Set.new(gather_constants).tap(&:compare_by_identity),
+ T::Set[Module].new(gather_constants).compare_by_identity,
T.nilable(T::Set[Module])
)
T.must(@processable_constants)
end