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

Description
The Table constructor uses ToValueType and ToWebAssemblyValue, which both assert that the type argument is not exnref, but the Table constructor itself does not check this:
The Table(descriptor, value) constructor, when invoked, performs the following steps:
- Let elementType be ToValueType(descriptor["element"]).
- If elementType is not a reftype,
- (... more rules that don't check exnref ...)
- Otherwise,
Should ToValueType accept exnref, and the second step be:
?