class RuboCop::Cop::Performance::Sum
def array_literal?(node)
def array_literal?(node) receiver = node.children.first receiver&.literal? && receiver.array_type? end
def array_literal?(node) receiver = node.children.first receiver&.literal? && receiver.array_type? end