lib/tapioca/compilers/symbol_table/symbol_generator.rb in tapioca-0.4.16 vs lib/tapioca/compilers/symbol_table/symbol_generator.rb in tapioca-0.4.17

- old
+ new

@@ -219,10 +219,10 @@ end.join("\n") end sig { params(constant: Module).returns(String) } def compile_enums(constant) - return "" unless constant < T::Enum + return "" unless T::Enum > constant enums = T.cast(constant, T::Enum).values.map do |enum_type| enum_type.instance_variable_get(:@const_name).to_s end