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

DOC: GC typo #69

Merged
merged 1 commit into from
Nov 19, 2018
Merged

DOC: GC typo #69

merged 1 commit into from
Nov 19, 2018

Conversation

exced
Copy link
Contributor

@exced exced commented Nov 18, 2018

Hi, it seems there's a little typo here.

Copy link
Member

@aheejin aheejin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@aheejin aheejin merged commit 530d2b9 into WebAssembly:master Nov 19, 2018
ioannad pushed a commit to ioannad/exception-handling that referenced this pull request Jun 6, 2020
ioannad pushed a commit to ioannad/exception-handling that referenced this pull request Jun 6, 2020
Per the vote on WebAssembly#69, this PR removes subtyping from the proposal. List of changes:

* Syntax:
  - remove `nullref` type
  - rename `anyref` type to `externref`
  - extend `ref.null` and `ref.is_null` instructions with new immediate of the form `func` or `extern` (this will later have to generalise to a `constype` per the [typed references proposal](https://github.com/WebAssembly/function-references))
* Typing rules:
  - `ref.null`, `ref.is_null`: determine reference type based on new immediate
  - `select`, `call_indirect`, `table.copy`, `table.init`: drop subtyping
  - `br_table`: revert to rule requiring same label types
  - `elem` segment: drop subtyping
  - `global` import: drop subtyping (link time)
* Remove subtyping rules and bottom type.
* Revert typing algorithm (interpreter and spec appendix).
* JS API:
  - remove `"nullref"`
  - rename `"anyref"` to `"externref"`
* Scripts:
  - rename `ref` result to `ref.extern`
  - rename `ref.host` value to `ref.extern`
  - drop subtyping from invocation type check
* JS translation:
  - extend harness with separate eq functions for each ref type
* Adjust tests:
  - apply syntax changes
  - remove tests for subtyping
  - change tests exercising subtyping in other ways
ioannad pushed a commit to ioannad/exception-handling that referenced this pull request Feb 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants