Skip to main content

build_programs

Function build_programs 

Source
pub fn build_programs(
    rast: Rast,
    data: TyEnv,
) -> Result<(Tast, Diagnostics), Diagnostics>
Expand description

Type rast’s programs on its system typed by build_system, taking both over: build’s last stage, every program’s variables, then the bodies.

§Errors

A variable whose type does not lower; then an expression or statement that does not type.