Skip to main content

type_builtin_fn

Function type_builtin_fn 

Source
pub fn type_builtin_fn(
    name: &str,
    tplt: Option<&[TpltParam]>,
    args: &[Type],
) -> Result<Option<Type>, Error>
Expand description

Compute the return type of calling a built-in function.

The arguments must be loaded.

Does not include constructor built-ins, see type_ctor.

Some functions are still TODO, see call for the list of functions and statuses.