Skip to content

Commit

Permalink
vm: add Synthetic modules
Browse files Browse the repository at this point in the history
- Refactor vm.SourceTextModule (again)
- Add vm.Module abstract superclass
- Add vm.SyntheticModule

Refs: https://heycam.github.io/webidl/#synthetic-module-records
  • Loading branch information
devsnek committed Oct 12, 2019
1 parent c64ed10 commit baf46f6
Show file tree
Hide file tree
Showing 19 changed files with 769 additions and 537 deletions.
2 changes: 1 addition & 1 deletion doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -1984,7 +1984,7 @@ The linker function returned a module for which linking has failed.
<a id="ERR_VM_MODULE_NOT_MODULE"></a>
### ERR_VM_MODULE_NOT_MODULE

The fulfilled value of a linking promise is not a `vm.SourceTextModule` object.
The fulfilled value of a linking promise is not a `vm.Module` object.

<a id="ERR_VM_MODULE_STATUS"></a>
### ERR_VM_MODULE_STATUS
Expand Down
Loading

0 comments on commit baf46f6

Please sign in to comment.