From 9cbfcc7aec329df23ddc28cff3a923e79c9b1b18 Mon Sep 17 00:00:00 2001 From: Alexander Momchilov Date: Fri, 5 Aug 2022 19:52:11 +0000 Subject: [PATCH] Don't skip over abstract FrozenRecord classes --- lib/tapioca/dsl/compilers/frozen_record.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tapioca/dsl/compilers/frozen_record.rb b/lib/tapioca/dsl/compilers/frozen_record.rb index 2b1095ad2..4ac3fd80d 100644 --- a/lib/tapioca/dsl/compilers/frozen_record.rb +++ b/lib/tapioca/dsl/compilers/frozen_record.rb @@ -90,7 +90,7 @@ def decorate sig { override.returns(T::Enumerable[Module]) } def self.gather_constants - descendants_of(::FrozenRecord::Base).reject(&:abstract_class?) + descendants_of(::FrozenRecord::Base) end private