Skip to content
Commit d31121df authored by Jim Blandy's avatar Jim Blandy Committed by Dzmitry Malyshau
Browse files

[wgsl-in] Refuse to apply postfix expressions to WGSL pointers.

Fixes #1356.

Output for the test case in that issue is now:

    error: the value indexed by a `[]` subscripting expression must not be a pointer
      ┌─ wgsl:5:14
      │
    5 │     let a = *pv[3]; // Problematic line
      │              ^^ expression is a pointer

    Could not parse WGSL
parent 08c1a1e9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment