We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60371a6 commit f5e1dcbCopy full SHA for f5e1dcb
src/webgpu/shader/validation/parse/statement_behavior.spec.ts
@@ -115,7 +115,7 @@ g.test('valid_statements')
115
116
const kInvalidFunctions = {
117
next_for_type: `fn foo() -> bool { }`,
118
- next_return_for_type: `fn foo() -> bool { if true { return true } }`,
+ next_return_for_type: `fn foo() -> bool { if true { return true; } }`,
119
};
120
121
g.test('invalid_functions')
0 commit comments