class Steep::Interface::MethodType
def instantiate(s)
def instantiate(s) self.class.new( type_params: [], params: params.subst(s), block: block&.subst(s), return_type: return_type.subst(s), location: location, ) end
def instantiate(s) self.class.new( type_params: [], params: params.subst(s), block: block&.subst(s), return_type: return_type.subst(s), location: location, ) end