module RuboCop::AST::Traversal::CallbackCompiler
def arity_check(range)
def arity_check(range) <<~RUBY n = node.children.size raise DebugError, [ 'Expected #{range} children, got', n, 'for', node.inspect ].join(' ') unless (#{range}).cover?(node.children.size) RUBY end