cairo_lang_sierra_to_casm::compiler

Function check_basic_structure

source
pub fn check_basic_structure(
    statement_idx: StatementIdx,
    invocation: &Invocation,
    libfunc: &CoreConcreteLibfunc,
) -> Result<(), CompilationError>
Expand description

Ensure the basic structure of the invocation is the same as the library function.