WGSL Let vs Var and Expected Error messages. #1454
Labels
area: front-end
Input formats for conversion
kind: bug
Something isn't working
lang: WGSL
WebGPU shading language
So in the Above Code Example the Color that is first created I was attempting to Reset it within the if statement and then outside of the if statement. This Should either A: output code that var's Color or B: possibly throw a Error mentioning that you can not remake let with the same name Or have a Warning that says we detected you where Attempting to Reuse Color and should instead is var in lets place and remove let from the rest.
This issue was found as it failed to run on someone else's PC due to the Error message
But would run perfectly fine on other computers.
The text was updated successfully, but these errors were encountered: