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
A function type which references another function type as a parameter type corrupts the internal state of wat2wasm, causing type lookup to fail, apparently returning (-1 / 0xffffffff / 4294967295) internally. The module and output are included below. This happens both with the current HEAD of the main branch and with the package version for Ubuntu 20.04. Removing the line that defines $T2 alllows wat2wasm to complete successfully.
Thanks. As in #2097 and #1986 and #1987, AFAIK support for the function-references proposal remains a work in progress in WABT -- we're not running the function-references tests and we don't even mention function references in the README yet. I think somebody who is interested in pushing this forward will have to complete support for the function-references proposal (and add the proposal spec tests to WABT's testsuite and a line in the README) before we'd expect this to work.
A function type which references another function type as a parameter type corrupts the internal state of wat2wasm, causing type lookup to fail, apparently returning (-1 / 0xffffffff / 4294967295) internally. The module and output are included below. This happens both with the current HEAD of the main branch and with the package version for Ubuntu 20.04. Removing the line that defines
$T2
alllows wat2wasm to complete successfully.Module:
Output follows:
The text was updated successfully, but these errors were encountered: