Skip to main content

check_unknown_calls

Function check_unknown_calls 

Source
pub fn check_unknown_calls(
    stmts: &[Stmt<'_>],
    interner: &Interner,
    registry: &TypeRegistry,
) -> Result<(), TypeError>
Expand description

Reject the first call (in source order) to a name that exists nowhere in the post-prelude program. See the module docs for the KNOWN-name rule.