lib/rbs/variance_calculator.rb in rbs-0.13.1 vs lib/rbs/variance_calculator.rb in rbs-0.14.0
- old
+ new
@@ -133,10 +133,10 @@
when :covariant
:contravariant
when :contravariant
:covariant
else
- raise
+ raise
end
type(ty, result: result, context: con)
end
end
when Types::Tuple, Types::Record, Types::Union, Types::Intersection