[wgsl-in] An 'expected one of ..' lexer error system would be nice #4329
Labels
area: naga front-end
lang: WGSL
WebGPU Shading Language
naga
Shader Translator
type: enhancement
New feature or request
With this wgsl code:
we get the error:
While a
>
parenthesis could go in that slot, a,
comma could as well, which is the seperator between an array type and the number of items.Ideally we'd have something like what rust does:
The text was updated successfully, but these errors were encountered: