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

Method coordinated_block_if_kind

crates/kernel/src/check.rs:286–298  ·  view source on GitHub ↗
(
    &mut self,
    block: &KId<M>,
    expected: CheckBlockKind,
  )

Source from the content-addressed store, hash-verified

284
285 self.check_const_member_fresh(id)
286 }
287
288 fn check_const_member_fresh(&mut self, id: &KId<M>) -> Result<(), TcError<M>>
289 where
290 M::MField<Vec<Name>>: CheckDupLevelParams,
291 {
292 self.reset();
293 self.begin_const(id);
294
295 let c = self.get_const(id)?;
296 self.check_const_member(id, &c)
297 }
298
299 fn check_const_member(
300 &mut self,
301 id: &KId<M>,

Callers 1

coordinated_block_forMethod · 0.80

Calls 3

try_get_blockMethod · 0.80
classify_blockMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected