Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2e8bbb15e393fc31460e751d5986cf47a12e00a6
      
https://github.com/WebKit/WebKit/commit/2e8bbb15e393fc31460e751d5986cf47a12e00a6
  Author: Tadeu Zagallo <tzaga...@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to