Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 2d8ee8d

Browse files
author
Luke Wagner
committed
Link to more cases of JS-to-wasm value checks
1 parent dc03466 commit 2d8ee8d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

proposals/gc/MVP-JS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -442,10 +442,10 @@ variant might use structural typing for fields with [Tuple Type](https://flow.or
442442
and nominal typing for fields with [Class Type](https://flow.org/en/docs/types/classes/).)
443443

444444
In addition to the dynamic checks necessary when JS passes a value to
445-
WebAssembly (either as an argument to a wasm exported function or a return value
446-
from a wasm imported function), the instantiation algorithm must ensure that
447-
imported type definitions' fields' types are compatible. For example, given the
448-
following module:
445+
WebAssembly (as an argument to a wasm exported function, a return value
446+
from a wasm imported function, [etc.](#other-webassembly-uses-of-value-type-objects)),
447+
the instantiation algorithm must ensure that imported type definitions' fields'
448+
types are compatible. For example, given the following module:
449449

450450
```wat
451451
;; example5.wat --> example5.wasm

0 commit comments

Comments
 (0)