[webkit-changes] [WebKit/WebKit] bdca85: [WGSL] Calls to non-constructible struct construct...

Tadeu Zagallo noreply at github.com
Wed Feb 21 08:21:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bdca8520ed5ffd00e6b77977f99b006f086f041a
      https://github.com/WebKit/WebKit/commit/bdca8520ed5ffd00e6b77977f99b006f086f041a
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-02-21 (Wed, 21 Feb 2024)

  Changed paths:
    M Source/WebGPU/WGSL/TypeCheck.cpp

  Log Message:
  -----------
  [WGSL] Calls to non-constructible struct constructors should be rejected
https://bugs.webkit.org/show_bug.cgi?id=269793
rdar://123312266

Reviewed by Mike Wyrzykowski.

We were missing a check in the type checker for whether the struct being constructed
is actually constructible.

* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):

Canonical link: https://commits.webkit.org/275101@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list