Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASSERTION FAILED: !behaviors.containsAny({ Behavior::Break, Behavior::Continue }) #28396

Conversation

tadeuzagallo
Copy link
Member

@tadeuzagallo tadeuzagallo commented May 10, 2024

@tadeuzagallo tadeuzagallo self-assigned this May 10, 2024
@tadeuzagallo tadeuzagallo added the WebGPU For bugs in WebGPU label May 10, 2024
@tadeuzagallo tadeuzagallo added the merge-queue Applied to send a pull request to merge-queue label May 13, 2024
…: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
@webkit-commit-queue webkit-commit-queue force-pushed the eng/ASSERTION-FAILED-behaviors-containsAny-BehaviorBreak-BehaviorContinue- branch from b76d946 to 2e8bbb1 Compare May 13, 2024 10:37
@webkit-commit-queue
Copy link
Collaborator

Committed 278681@main (2e8bbb1): https://commits.webkit.org/278681@main

Reviewed commits have been landed. Closing PR #28396 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 2e8bbb1 into WebKit:main May 13, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebGPU For bugs in WebGPU
Projects
None yet
4 participants