[webkit-changes] [WebKit/WebKit] 40dacd: [WGSL] Break-if should not have a type
Tadeu Zagallo
noreply at github.com
Thu Feb 1 07:53:38 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 40dacda7f749d9218b87bcb5d8fa37603dd593ec
https://github.com/WebKit/WebKit/commit/40dacda7f749d9218b87bcb5d8fa37603dd593ec
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-02-01 (Thu, 01 Feb 2024)
Changed paths:
M Source/WebGPU/WGSL/TypeCheck.cpp
Log Message:
-----------
[WGSL] Break-if should not have a type
https://bugs.webkit.org/show_bug.cgi?id=268461
rdar://121527180
Reviewed by Mike Wyrzykowski.
We get an assertion failure due to the typeError call from validating the
test expression in break-if statements leaves an inferred bottom type, when
statements (including break-if) should not have an inferred type.
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
Canonical link: https://commits.webkit.org/273910@main
More information about the webkit-changes
mailing list