pub fn type_check(
expr: &mut Expr,
function_type_registry: &FunctionTypeRegistry,
) -> Result<(), RibCompilationError>pub fn type_check(
expr: &mut Expr,
function_type_registry: &FunctionTypeRegistry,
) -> Result<(), RibCompilationError>