@@ -1194,7 +1194,7 @@ validation specifies:
11941194 * if a ` post-return ` is present, it has type ` (func (param flatten($ft)['results'])) `
11951195
11961196When 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
11991199Thus, ` $f ` captures ` $opts ` , ` $inst ` , ` $callee ` and ` $ft ` in a closure which
12001200can 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
12741274When 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
12771277Thus, from the perspective of Core WebAssembly, ` $f ` is a [ function instance]
12781278containing a ` hostfunc ` that closes over ` $opts ` , ` $inst ` , ` $callee ` and ` $ft `
0 commit comments