Skip to content

Commit 92b77a3

Browse files
authored
fix type checking WAT examples (#344)
* fix type checking WAT example Signed-off-by: Roman Volosatovs <[email protected]> * add missing closing parenthesis in WAT Signed-off-by: Roman Volosatovs <[email protected]> --------- Signed-off-by: Roman Volosatovs <[email protected]>
1 parent 50a39dd commit 92b77a3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

design/mvp/Explainer.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -824,11 +824,11 @@ example, in the following compound component:
824824
(type $ListListString1 (list $ListString1))
825825
(type $ListListString2 (list $ListString1))
826826
(component $B
827-
(type $ListString3 (list string))
828-
(type $ListListString3 (list $ListString3))
829-
(type $ListString4 (alias outer $A $ListString))
830-
(type $ListListString4 (list $ListString4))
831-
(type $ListListString5 (alias outer $A $ListString2))
827+
(type $ListString2 (list string))
828+
(type $ListListString3 (list $ListString2))
829+
(type $ListString3 (alias outer $A $ListString1))
830+
(type $ListListString4 (list $ListString3))
831+
(type $ListListString5 (alias outer $A $ListListString1))
832832
)
833833
)
834834
```
@@ -1043,7 +1043,7 @@ bound.
10431043
```wasm
10441044
(component
10451045
(type $r (resource (rep i32)))
1046-
(export "r1" (type $r)
1046+
(export "r1" (type $r))
10471047
(export "r2" (type $r) (type (sub resource)))
10481048
)
10491049
```

0 commit comments

Comments
 (0)