Skip to content

Commit

Permalink
add back some needed types
Browse files Browse the repository at this point in the history
  • Loading branch information
yowl committed Jan 19, 2024
1 parent 9c8b045 commit b103362
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/codegen/option-result.wit
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ interface option-result {
record o-one {
a: option<bool>,
}

record o-nested {
a: option<option<o-one>>,
}

type o1 = option<o-one>;
type o2 = option<empty>;
type o4 = option<option<o-nested>>;

type r1 = result;
type r2 = result<_, empty>;
Expand Down

0 comments on commit b103362

Please sign in to comment.