Skip to main content

type_check

Function type_check 

Source
pub fn type_check(
    module: &Module,
    interfaces: &HashMap<Name, Interface>,
) -> Result<HashMap<Name, Solved>, Vec<Error>>
Expand description

type_check_recovering, reduced to a module that either type checked or did not: the solved map when no declaration failed, every error otherwise.