Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 87a9d5d76bc2669035ff6353ba58c6d1951b1160
https://github.com/WebKit/WebKit/commit/87a9d5d76bc2669035ff6353ba58c6d1951b1160
Author: Tadeu Zagallo <[email protected]>
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
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes