MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / dealias

Function dealias

crates/core/src/lib.rs:257–264  ·  view source on GitHub ↗
(resolve: &Resolve, mut id: TypeId)

Source from the content-addressed store, hash-verified

255}
256
257pub fn dealias(resolve: &Resolve, mut id: TypeId) -> TypeId {
258 loop {
259 match &resolve.types[id].kind {
260 TypeDefKind::Type(Type::Id(that_id)) => id = *that_id,
261 _ => break id,
262 }
263 }
264}

Callers 11

full_wit_type_nameFunction · 0.50
classifyFunction · 0.50
print_tyMethod · 0.50
is_exported_resourceMethod · 0.50
emitMethod · 0.50
type_constructorMethod · 0.50
type_nameMethod · 0.50
type_aliasMethod · 0.50
anonymous_type_handleMethod · 0.50
define_live_typesMethod · 0.50
emitMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected