[webkit-changes] [WebKit/WebKit] 87a9d5: ASSERTION FAILED: !m_inferredType in WebGPU/WGSL/T...
Tadeu Zagallo
noreply at github.com
Wed May 8 04:31:44 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 87a9d5d76bc2669035ff6353ba58c6d1951b1160
https://github.com/WebKit/WebKit/commit/87a9d5d76bc2669035ff6353ba58c6d1951b1160
Author: Tadeu Zagallo <tzagallo at apple.com>
Date: 2024-05-08 (Wed, 08 May 2024)
Changed paths:
M Source/WebGPU/WGSL/TypeCheck.cpp
A Source/WebGPU/WGSL/tests/invalid/if.wgsl
Log Message:
-----------
ASSERTION FAILED: !m_inferredType in WebGPU/WGSL/TypeCheck.cpp(1978)
https://bugs.webkit.org/show_bug.cgi?id=273407
rdar://127605450
Reviewed by Mike Wyrzykowski.
When reporting a type error for the test condition of an if statement we should
not infer bottom.
* Source/WebGPU/WGSL/TypeCheck.cpp:
(WGSL::TypeChecker::visit):
* Source/WebGPU/WGSL/tests/invalid/if.wgsl: Added.
Canonical link: https://commits.webkit.org/278504@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