Skip to main content

check

Function check 

Source
pub fn check(prog: &ProtocolProgram) -> Result<Vec<String>, Vec<IdlError>>
Expand description

Compile-time well-formedness — the dialogue matrix (§16) applied to the PROGRAM, not the runtime. Returns warnings; errors abort compilation.