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
Running wasm-opt -all a.wast --merge-similar-functions produces this error:
[wasm-validator error in function byn$mgfn-shared$2] unexpected false: unreachable instruction must have unreachable child, on
(call_ref $none_=>_none
(local.get $0)
)
Fatal: error after opts
The text was updated successfully, but these errors were encountered:
Looks like a bad copy-paste here perhaps? Some functions appear twice, and function $2 has one definition without a body (only (func $2 (type $none_=>_none) with no closing paren after it).
Also (type $i32_=>_none (func (param i32))) appears twice, which I think is #3989 which is why RoundTripText is disabled in the fuzzer atm (as a workaround, --name-types fixes it).
The fuzzer found this test case:
Running
wasm-opt -all a.wast --merge-similar-functions
produces this error:The text was updated successfully, but these errors were encountered: