Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
missing case for StructuralType::Cont(_)
Browse files Browse the repository at this point in the history
  • Loading branch information
frank-emrich committed Aug 11, 2023
1 parent 85857ec commit 262cf4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/wit-component/src/linking/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ impl<'a> Metadata<'a> {
r.map(|ty| match ty.structural_type {
StructuralType::Func(ty) => Some(ty),
StructuralType::Array(_) | StructuralType::Struct(_) => None,
StructuralType::Cont(_) => todo!()
})
.transpose()
})
Expand Down

0 comments on commit 262cf4c

Please sign in to comment.