@@ -1194,7 +1194,7 @@ validation specifies:
1194
1194
* if a ` post-return ` is present, it has type ` (func (param flatten($ft)['results'])) `
1195
1195
1196
1196
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) `
1198
1198
1199
1199
Thus, ` $f ` captures ` $opts ` , ` $inst ` , ` $callee ` and ` $ft ` in a closure which
1200
1200
can be subsequently exported or passed into a child instance (via ` with ` ). If
@@ -1272,7 +1272,7 @@ where `$callee` has type `$ft`, validation specifies:
1272
1272
* there is no ` post-return ` in ` $opts `
1273
1273
1274
1274
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) `
1276
1276
1277
1277
Thus, from the perspective of Core WebAssembly, ` $f ` is a [ function instance]
1278
1278
containing a ` hostfunc ` that closes over ` $opts ` , ` $inst ` , ` $callee ` and ` $ft `
0 commit comments