lib/rubocop/cop/rbs/lint/literal_intersection.rb in rubocop-on-rbs-1.2.0 vs lib/rubocop/cop/rbs/lint/literal_intersection.rb in rubocop-on-rbs-1.3.0
- old
+ new
@@ -34,9 +34,10 @@
check_type(type.type)
end
alias on_rbs_global on_rbs_constant
alias on_rbs_type_alias on_rbs_constant
alias on_rbs_attribute on_rbs_constant
+ alias on_rbs_var on_rbs_constant
def check_intersection(intersection)
intersection.types.each do |type|
check_intersection_child(type)
end