Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 40dacda7f749d9218b87bcb5d8fa37603dd593ec
      
https://github.com/WebKit/WebKit/commit/40dacda7f749d9218b87bcb5d8fa37603dd593ec
  Author: Tadeu Zagallo <tzaga...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to