Skip to content

Commit 475c855

Browse files
committed
Fix existential elim example
1 parent 253dfd7 commit 475c855

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

design/mvp/Explainer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,11 +868,12 @@ The above examples all show abstract types in terms of *imports*, but the same
868868
as well. For example, in this component:
869869
```wasm
870870
(component
871-
(import "i" (instance $i
871+
(import "C" (component $C
872872
(export "T1" (type $T1 (sub resource)))
873873
(export "T2" (type $T2 (sub resource)))
874874
(export "T3" (type $T3 (eq $T2)))
875875
))
876+
(instance $c (instantiate $C))
876877
(type $T1 (alias export $i "T1"))
877878
(type $T2 (alias export $i "T2"))
878879
(type $T3 (alias export $i "T3"))

0 commit comments

Comments
 (0)