Module: T::Private::Methods::ProcBindPatch

Included in:
T::Private::Methods
Defined in:
lib/tapioca/sorbet_ext/proc_bind_patch.rb

Instance Method Summary collapse

Instance Method Details

#finalize_proc(decl) ⇒ Object



30
31
32
33
34
# File 'lib/tapioca/sorbet_ext/proc_bind_patch.rb', line 30

def finalize_proc(decl)
  super

  T.unsafe(T::Types::Proc).new(decl.params, decl.returns, decl.bind)
end