MCPcopy Create free account
hub / github.com/argumentcomputer/ix / recursor_dump_matches_block

Method recursor_dump_matches_block

crates/kernel/src/inductive.rs:1389–1398  ·  view source on GitHub ↗
(
    &self,
    block_id: &KId<M>,
    flat: &[FlatBlockMember<M>],
  )

Source from the content-addressed store, hash-verified

1387 },
1388 _ => {
1389 return Err(TcError::Other(
1390 "canonical_aux_order: aux ext is not an inductive".into(),
1391 ));
1392 },
1393 };
1394
1395 // Instantiate ext_ty: replace J's universe params with the
1396 // occurrence's universe args, then walk past `ext_n_params` Pi
1397 // binders, substituting with `spec_params`. The result is the
1398 // aux's "internal" type — what `mem.typ` becomes after
1399 // compile-side's `instantiate_pi_params(j_type_inst,
1400 // ext_n_params, &spec_params)` step.
1401 let mut typ =

Callers 2

dump_flat_aux_orderMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected