class Prism::Translation::Parser::Compiler

def visit_super_node(node)

^^^^^^^^^^
super(foo)
def visit_super_node(node)
  arguments = node.arguments&.arguments || []
  block = node.block
  if block.is_a?(BlockArgumentNode)
    arguments = [*arguments, block]
    block = nil
  end
  visit_block(
    builder.keyword_cmd(
      :super,
      token(node.keyword_loc),
      token(node.lparen_loc),
      visit_all(arguments),
      token(node.rparen_loc)
    ),
    block
  )
end