Skip to content

Commit 0d96673

Browse files
committed
Fix typo
1 parent e80a1de commit 0d96673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

design/mvp/CanonicalABI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ validation specifies:
11941194
* if a `post-return` is present, it has type `(func (param flatten($ft)['results']))`
11951195

11961196
When instantiating component instance `$inst`:
1197-
* Define `$f` to be the closure `lambda args: canon_lift($opts, $inst, $callee, $ft, args)`
1197+
* Define `$f` to be the closure `lambda args: canon_lift(Context($opts, $inst), $callee, $ft, args)`
11981198

11991199
Thus, `$f` captures `$opts`, `$inst`, `$callee` and `$ft` in a closure which
12001200
can be subsequently exported or passed into a child instance (via `with`). If
@@ -1272,7 +1272,7 @@ where `$callee` has type `$ft`, validation specifies:
12721272
* there is no `post-return` in `$opts`
12731273

12741274
When instantiating component instance `$inst`:
1275-
* Define `$f` to be the closure: `lambda args: canon_lower($opts, $inst, $callee, $ft, args)`
1275+
* Define `$f` to be the closure: `lambda args: canon_lower(Context($opts, $inst), $callee, $ft, args)`
12761276

12771277
Thus, from the perspective of Core WebAssembly, `$f` is a [function instance]
12781278
containing a `hostfunc` that closes over `$opts`, `$inst`, `$callee` and `$ft`

0 commit comments

Comments
 (0)