class Opal::Nodes::ZsuperNode

def compile

def compile
  if def_scope
    implicit_args = implicit_arglist
    # If the method we're in has a block and we're using a default super call with no args, we need to grab the block
    # If an iter (block via braces) is provided, that takes precedence
    if block_name && !iter
      block_pass = s(:block_pass, s(:lvar, block_name))
      implicit_args << block_pass
    end
    @arglist = s(:arglist, *implicit_args)
  end
  compile_using_send
end