trailing comma in fn params
mighdoll opened this issue · comments
fn foo (a:i32,) {}
seems legal in the spec and is accepted by Tint/Chrome, but rejected by wgsl_reflect
Thanks. I just pushed a fix.
A WebGPU Shading Language parser and reflection library for Javascript.
mighdoll opened this issue · comments
fn foo (a:i32,) {}
seems legal in the spec and is accepted by Tint/Chrome, but rejected by wgsl_reflect
Thanks. I just pushed a fix.