lib/raap/method_property.rb in raap-0.4.0 vs lib/raap/method_property.rb in raap-0.5.0
- old
+ new
@@ -48,10 +48,10 @@
end
private
def call(size:, stats:)
- if @method_type.rbs.each_type.find { |t| t.instance_of?(::RBS::Types::Bases::Any) }
+ if @method_type.rbs.type.each_type.find { |t| t.instance_of?(::RBS::Types::Bases::Any) }
RaaP.logger.info { "Skip type check since `#{@method_type.rbs}` includes `untyped`" }
stats.break = true
throw :break
end
receiver_value = @receiver_type.to_symbolic_call(size:)