You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: forward_args.rb
    path of file: ./repos/sorbet/test/testdata/resolver
    
    the code of the file until where you have to start completion: # typed: true

class Foo
  extend T::Sig

  sig do
    params(
      a: Integer,
      b: String,
      k1: Integer,
      k2: String,
      block: T.proc.params(x: Integer).returns(String)
    ).returns(String)
  end
  def bar(a, b, k1:, k2:, &block)
    return block.call(k1) if (b.length == a)
  
    
  def foo_orig(*args, **kargs, &block)
    args_lit = [1, "2"]
    hash_lit = {k1: 1, k2: "2"}
    r1 = bar(1, "2", k1: 3, k2: "4") { "" }
    T.reveal_type(r1) # error: Revealed type: `String`
    r2 = bar(*T.unsafe(args), **kargs, &block)
    T.reveal_type(r2) # error: Revealed type: `T.untyped`
    r3 = bar(*T.unsafe(args), **T.unsafe(kargs)) { "" }
    T.reveal_type(r3) # error: Revealed type: `T.untyped`
    r4 = bar(*args_lit, hash_lit, &block)
    T.reveal_type(r4) # error: Revealed type: `String`
  end