[Webkit-unassigned] [Bug 199766] New: [WHLSL] Structs should be able to recursively point to each other

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 12 16:11:13 PDT 2019


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

            Bug ID: 199766
           Summary: [WHLSL] Structs should be able to recursively point to
                    each other
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: justin_fan at apple.com

This code does not compile but should.

        struct Foo {
            thread Bar* bar;
            int foo;
        }
        struct Bar {
            thread Foo* foo;
            int bar;
        }
        int foo()
        {
            Foo foo;
            Bar bar;
            foo.foo = 564;
            bar.bar = 53;
            return foo.bar->bar - bar.foo->foo;
        }

-- 
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/20190712/21fcac21/attachment.html>


More information about the webkit-unassigned mailing list