[Webkit-unassigned] [Bug 198143] New: [WHLSL] Detection of duplicate functions does not correctly deal with auto-generated setters and getters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 22 15:33:10 PDT 2019


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

            Bug ID: 198143
           Summary: [WHLSL] Detection of duplicate functions does not
                    correctly deal with auto-generated setters and getters
           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: rmorisset at apple.com

According to the spec, it is invalid to define an ander and a setter for the same field of the same type, as the ander leads to the creation of a setter, that will conflict with the user-defined one.
Because the implementation currently does not generate setters in this manner, but instead writes their code inline whenever it is needed (https://bugs.webkit.org/show_bug.cgi?id=195925), we won't correctly reject such programs if the ander/setter is never used.

The same problem exists for ander/getter.

-- 
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/20190522/5445c31f/attachment-0001.html>


More information about the webkit-unassigned mailing list