[webkit-changes] [WebKit/WebKit] 2e8bbb: ASSERTION FAILED: !behaviors.containsAny({ Behavio...

Tadeu Zagallo noreply at github.com
Mon May 13 03:38:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2e8bbb15e393fc31460e751d5986cf47a12e00a6
      https://github.com/WebKit/WebKit/commit/2e8bbb15e393fc31460e751d5986cf47a12e00a6
  Author: Tadeu Zagallo <tzagallo at apple.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M Source/WebGPU/WGSL/TypeCheck.cpp
    A Source/WebGPU/WGSL/tests/invalid/break.wgsl

  Log Message:
  -----------
  ASSERTION FAILED: !behaviors.containsAny({ Behavior::Break, Behavior::Continue })
https://bugs.webkit.org/show_bug.cgi?id=273411
rdar://127310621

Reviewed by Mike Wyrzykowski.

While it's invalid for a function to have break or continue behaviors, that's a type
error, not an assertion.

* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
* Source/WebGPU/WGSL/tests/invalid/break.wgsl: Added.

Canonical link: https://commits.webkit.org/278681@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