You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit fixes a regression in function generation when error
handling is involved.
The buggy code over-eagerly checks whether there is an error type
type present on a result, when there may legitimately not
be (e.g. `result<t>` in WIT). The fix is to check *only* for whether
the types are returned as a pair (indicating a `result`) at all.
0 commit comments