Refine the bounds on type parameters to the given type arguments.
Refine the bounds on type parameters to the given type arguments.
Returns an adapted type for a return expression if the method's result type (pt) is a CPS type.
Returns an adapted type for a return expression if the method's result type (pt) is a CPS type.
Otherwise, it returns the default type (typedReturn passes NothingClass.tpe).
A return expression in a method that has a CPS result type is an error unless the return is in tail position. Therefore, we are making sure that only the types of return expressions are adapted which will either be removed, or lead to an error.
Modify the type that has thus far been inferred for a tree.
Modify the type that has thus far been inferred for a tree. All this should do is add annotations.
Check annotations to decide whether tpe1 <:< tpe2
Check annotations to decide whether tpe1 <:< tpe2
Refine the computed least upper bound of a list of types.
Refine the computed least upper bound of a list of types. All this should do is add annotations.
Checks whether @cps annotations conform