Firestar99 opened PR #14023 from Firestar99:convert_partial to bytecodealliance:main:
When isle uses an implicit
convertfrom A to B and the conversion declaration ispartial,
it emits:let v1: &Option<B> = &C::a_to_b(ctx, arg0); let v2: &B = v1?;This fails to compile since you can't
?a&Option<T>, only on anOptionitself.
So add a.as_ref()to convert it toOption<&T>before?.
Firestar99 requested fitzgen for a review on PR #14023.
Firestar99 requested wasmtime-compiler-reviewers for a review on PR #14023.
Last updated: Aug 30 2026 at 09:07 UTC