consistent?(other)
click to toggle source
def consistent?(other)
case other
when Type::Proc
@block_body.consistent?(other.block_body)
else
self == other
end
end
include_untyped?(scratch)
click to toggle source
def include_untyped?(scratch)
false
end
method_dispatch_info()
click to toggle source
def method_dispatch_info
@base_type.method_dispatch_info
end
screen_name(scratch)
click to toggle source
def screen_name(scratch)
scratch.show_proc_signature([self])
end
substitute(subst, depth)
click to toggle source
def substitute(subst, depth)
Proc.new(@block_body.substitute(subst, depth), @base_type)
end