lib/tapioca/dsl/compilers/identity_cache.rb in tapioca-0.7.1 vs lib/tapioca/dsl/compilers/identity_cache.rb in tapioca-0.7.2
- old
+ new
@@ -67,10 +67,10 @@
COLLECTION_TYPE = T.let(
->(type) { "T::Array[::#{type}]" },
T.proc.params(type: T.any(Module, String)).returns(String)
)
- ConstantType = type_member(fixed: T.class_of(::ActiveRecord::Base))
+ ConstantType = type_member { { fixed: T.class_of(::ActiveRecord::Base) } }
sig { override.void }
def decorate
caches = constant.send(:all_cached_associations)
cache_indexes = constant.send(:cache_indexes)