You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for testing this! As with #2097 and #1986 and #1987 and #2089, AFAIK support for the function-references proposal remains a work in progress in WABT. We don't even mention function references in the README, and we're not running the function-references tests. (I think function-references may have been folded into the "gc" proposal in the meantime, but not sure?)
I think somebody who is interested in pushing this forward will have to complete support for the function-references or gc proposals, and claim support in the README, and add the proposal spec tests to WABT's testsuite, before we'd expect function references to work properly. Closing as essentially a dup of #1377 . If you want to work on this, we'd be very happy to help / review contributions that get these proposals supported!
The following wat program works fine in wat2wasm without function references enabled:
However, enabling the "function references" feature causes the following error:
It looks like
ref 0
is not marked as a subtype offuncref
.Tested with the online demo: https://webassembly.github.io/wabt/demo/wat2wasm/
The text was updated successfully, but these errors were encountered: