Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.

Commit 4d05078

Browse files
committed
Update name of Evaluator Attributes proposal to match new TC39 proposal name
1 parent c51c20e commit 4d05078

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

design/proposals/module-linking/Explainer.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -824,8 +824,7 @@ to recursively extract fields.
824824
Lastly, for imports of modules, ESM-integration would need the ESM loader to
825825
provide a fundamentally new way to parse/decode a module without *also*
826826
instantiating that module. Since this functionality is also useful for JS,
827-
there is already a proposal to add this to ESM called
828-
[Evaluator Attributes](https://github.com/lucacasonato/proposal-evaluator-attributes).
827+
there is already a proposal to add this to ESM called [Import Reflection].
829828
With this proposal, a module import:
830829
```wasm
831830
(adapter_module
@@ -834,9 +833,10 @@ With this proposal, a module import:
834833
```
835834
could be handled by ESM-integration as if loaded by:
836835
```js
837-
import M from 'foo' as 'module';
836+
import Foo from "./foo.wasm" as "wasm-module";
838837
```
839-
according to the Evaluator Attributes proposal.
838+
allowing `Foo` to be subsequently instantiated via existing JS API functions
839+
like `WebAssemby.instantiate()`.
840840

841841

842842

@@ -848,6 +848,7 @@ according to the Evaluator Attributes proposal.
848848
[Interface Types]: https://github.com/WebAssembly/interface-types
849849

850850
[ESM-integration]: https://github.com/WebAssembly/esm-integration
851+
[Import Reflection]: https://github.com/tc39-transfer/proposal-import-reflection
851852

852853
[Core Concepts]: https://webassembly.github.io/spec/core/intro/overview.html#concepts
853854
[`typeuse`]: https://webassembly.github.io/spec/core/text/modules.html#type-uses

0 commit comments

Comments
 (0)