From 0cc75da6be280f8a76a8dd99fcd8a6f5963ea002 Mon Sep 17 00:00:00 2001 From: Alan Baker Date: Fri, 15 Mar 2024 13:34:02 -0400 Subject: [PATCH] add missing semicolon --- src/webgpu/shader/validation/parse/statement_behavior.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgpu/shader/validation/parse/statement_behavior.spec.ts b/src/webgpu/shader/validation/parse/statement_behavior.spec.ts index 0b1f8ce12904..1acfd01d8b90 100644 --- a/src/webgpu/shader/validation/parse/statement_behavior.spec.ts +++ b/src/webgpu/shader/validation/parse/statement_behavior.spec.ts @@ -115,7 +115,7 @@ g.test('valid_statements') const kInvalidFunctions = { next_for_type: `fn foo() -> bool { }`, - next_return_for_type: `fn foo() -> bool { if true { return true } }`, + next_return_for_type: `fn foo() -> bool { if true { return true; } }`, }; g.test('invalid_functions')