[Webkit-unassigned] [Bug 199603] New: [WHLSL] array typedef test causes us to compile a metal program with an error in it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 8 17:55:33 PDT 2019


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

            Bug ID: 199603
           Summary: [WHLSL] array typedef test causes us to compile a
                    metal program with an error in it
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sbarati at apple.com
                CC: dino at apple.com, fpizlo at apple.com, jonlee at apple.com,
                    justin_fan at apple.com, mmaxfield at apple.com,
                    rmorisset at apple.com

```
        typedef ArrayTypedef = int[2];
        int foo()
        {
            ArrayTypedef arrayTypedef;
            return arrayTypedef[0];
        }
```
\
program_source:549:24: error: cannot initialize a member subobject of type 'type1 *' (aka 'int *') with an lvalue of type 'type135 *' (aka 'array<int, 2> *')
type143 variable10 = { variable8, 1 };
                       ^~~~~~~~~

-- 
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/20190709/c80d8ae1/attachment.html>


More information about the webkit-unassigned mailing list