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

[wgsl-in] Record identifier definitions as TypedExpression values.

Both a `var` binding and a `let` binding of a pointer to a variable create
entries in the `lookup_ident` tables whose expression is a `LocalVariable`.
However, the `let` should be a pointer, whereas the `var` should be a reference.
This patch changes the tables to hold `TypedExpression` values, thus preserving
the distinction.
parent 4abf22c4
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