Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 1e31759a1fb0dfd8bd1ee4cc5b0daf5116713ca7 https://github.com/WebKit/WebKit/commit/1e31759a1fb0dfd8bd1ee4cc5b0daf5116713ca7 Author: Tadeu Zagallo <tzaga...@apple.com> Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths: M Source/WebGPU/WGSL/TypeCheck.cpp M Source/WebGPU/WGSL/tests/valid/overload.wgsl Log Message: ----------- [WGSL] Array constructor needs to unwrap references https://bugs.webkit.org/show_bug.cgi?id=268388 rdar://121527103 Reviewed by Mike Wyrzykowski. It's not valid to have an array of references, so we need to unwrap the reference first before inferring the type of the array elements. * Source/WebGPU/WGSL/TypeCheck.cpp: (WGSL::TypeChecker::visit): * Source/WebGPU/WGSL/tests/valid/overload.wgsl: Canonical link: https://commits.webkit.org/273767@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes