-
Notifications
You must be signed in to change notification settings - Fork 825
Open
Description
(module
(type (;0;) (func))
(type (;1;) (func (result externref)))
(import "gl" "createProgram" (func $src/asc/gl/createProgram (type 1)))
(func $src/asc/lemonsoda/init (type 0)
call $src/asc/gl/createProgram
drop
)
(export "init" (func $src/asc/lemonsoda/init))
)$ wat2wasm --enable-reference-types test.wat -o test.wasm
$ wasm-opt --asyncify --enable-reference-types test.wasm -o test2.wasm
invalid type
UNREACHABLE executed at /tmp/binaryen-20210320-71286-1g5tfwr/binaryen-version_100/src/wasm/wasm-type.cpp:488!
[1] 56081 abort wasm-opt --asyncify --enable-reference-types test.wasm -o test2.wasm
surban and MichaelBelousov
Metadata
Metadata
Assignees
Labels
No labels