check

Function check 

Source
pub fn check(ast: &AST, ctx: &Context) -> TypeResult
Expand description

Checks whether a given AST is well typed according to the specification of the language.

ยงFailures

Any ill-typed AST results in a failure.