<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>252349</bug_id>
          
          <creation_ts>2023-02-15 14:49:52 -0800</creation_ts>
          <short_desc>[Wasm-GC] Allow GC types in globals</short_desc>
          <delta_ts>2023-12-12 10:51:31 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebAssembly</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=251041</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=251874</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>247394</blocked>
    
    <blocked>253029</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Chevalier">tjc</reporter>
          <assigned_to name="Asumu Takikawa">asumu</assigned_to>
          <cc>justin_michaud</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1933971</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Chevalier">tjc</who>
    <bug_when>2023-02-15 14:49:52 -0800</bug_when>
    <thetext>The following is rejected currently:

```
(module
  (type $vec (array f32))
  (global (ref $vec) (array.new_canon $vec (f32.const 1) (i32.const 3))))
```

Constant expressions with array or struct types should be allowed to appear as global initializers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1935970</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-02-22 14:50:21 -0800</bug_when>
    <thetext>&lt;rdar://problem/105800529&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999035</commentid>
    <comment_count>2</comment_count>
    <who name="Asumu Takikawa">asumu</who>
    <bug_when>2023-12-12 10:51:31 -0800</bug_when>
    <thetext>Closing as this has been fixed already by https://github.com/WebKit/WebKit/pull/17230</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>