lib/rubocop/cop/rbs/lint/ambiguous_operator_precedence.rb in rubocop-on-rbs-1.2.0 vs lib/rubocop/cop/rbs/lint/ambiguous_operator_precedence.rb in rubocop-on-rbs-1.3.0
- old
+ new
@@ -30,9 +30,10 @@
check_type(const.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_type(type)
on_type([::RBS::Types::Union], type) do |union|
union.types.each do |t|
case t