aboutsummaryrefslogtreecommitdiff
path: root/src/value.zig
diff options
context:
space:
mode:
authorCody Tapscott <topolarity@tapscott.me>2022-09-14 17:38:08 -0700
committerCody Tapscott <topolarity@tapscott.me>2022-10-21 11:22:46 -0700
commit77720e30aaead1c814f2714bd5a7ad7ad0fbc23e (patch)
tree70ab61b6e3a86770290565d4efe132d6ec31b67f /src/value.zig
parent724d75363855176aa5e6b3d9bcd1656e2cc1f6a6 (diff)
downloadzig-77720e30aaead1c814f2714bd5a7ad7ad0fbc23e.tar.gz
zig-77720e30aaead1c814f2714bd5a7ad7ad0fbc23e.zip
Re-factor: Change AstGen.ResultLoc to be a struct
This re-factor is intended to make it easier to track what kind of operator/expression consumes a result location, without overloading the ResultLoc union for this purpose. This is used in the following commit to keep track of initializer expressions of `const` variables to avoid popping error traces pre-maturely. Hopefully this will also be useful for implementing RLS temporaries in the future.
Diffstat (limited to 'src/value.zig')
0 files changed, 0 insertions, 0 deletions