Skip to content

Commit

Permalink
Correction
Browse files Browse the repository at this point in the history
  • Loading branch information
eggyal authored Sep 11, 2019
1 parent 743cdf3 commit 4d56d07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/000-prototypal-inheritance.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ There are three key problems with the status quo that currently prevent exported

This RFC proposes a solution to all of these points, and furthermore also proposes a solution to the related problem of obtaining a [`JsValue`](https://rustwasm.github.io/wasm-bindgen/api/wasm_bindgen/struct.JsValue.html) for any given export or import which could be used, for example, to pass a `struct` to a JS API that expects a constructor function (such as [`web_sys::CustomElementRegistry::define`](https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.CustomElementRegistry.html#method.define)).

These problems are addressed in this order below, but consideration is at first only given to how exported types are instantiated from JavaScript; the problem of correctly instantiating exported types from within WASM is not visited until the third section (on FFI polymorphism).
These problems are addressed in this order below, but consideration is at first only given to how exported types are instantiated from JavaScript; the problem of correctly instantiating exported types from within WASM is not visited until the end.

### Generating `extends` clause in shim classes

Expand Down

0 comments on commit 4d56d07

Please sign in to comment.