The operator precedence and associativity consensus is documented at #1146 (comment)
That has a unary plus, but the WGSL spec does not have unary plus. PR #2267 recently updated the grammar to closer match the consensus, but not in this respect.
It seems fine to me, and is symmetric with unary minus.
The operator precedence and associativity consensus is documented at #1146 (comment)
That has a unary plus, but the WGSL spec does not have unary plus. PR #2267 recently updated the grammar to closer match the consensus, but not in this respect.
It seems fine to me, and is symmetric with unary minus.