[Webkit-unassigned] [Bug 251874] [Wasm-GC] Update element segments to account for typed funcrefs and GC types

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 15 17:25:51 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251874

--- Comment #3 from Tim Chevalier <tjc at igalia.com> ---
This should also work:

```
(module
      (type $fty (func (result i32)))
      (func $f (result i32)
         (i32.const 2))
      (elem $e (ref $fty) (ref.func $f)))
```

As it is, the element segment type is restricted to either `funcref` or `externref`.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230216/084c1dd5/attachment.htm>


More information about the webkit-unassigned mailing list