| Summary: | [WASM-Function-References] call_ref should subtype-check its arguments | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Asumu Takikawa <asumu> |
| Component: | WebAssembly | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bashorov, justin_michaud, keith_miller, mark.lam, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | |||
| Bug Blocks: | 247393 | ||
Pull request: https://github.com/WebKit/WebKit/pull/21353 Committed 271780@main (c64fed2494ab): <https://commits.webkit.org/271780@main> Reviewed commits have been landed. Closing PR #21353 and removing active labels. |
Right now call_ref uses type equality rather than subtyping to check its argument types Example program that fails: (module (func (param eqref)) (global (ref 0) (ref.func 0)) (func (call_ref 0 (ref.i31 (i32.const 42)) (global.get 0))) )