diff options
| author | Cody Tapscott <topolarity@tapscott.me> | 2022-09-14 17:38:08 -0700 |
|---|---|---|
| committer | Cody Tapscott <topolarity@tapscott.me> | 2022-10-21 11:22:46 -0700 |
| commit | 77720e30aaead1c814f2714bd5a7ad7ad0fbc23e (patch) | |
| tree | 70ab61b6e3a86770290565d4efe132d6ec31b67f /lib/std/debug.zig | |
| parent | 724d75363855176aa5e6b3d9bcd1656e2cc1f6a6 (diff) | |
| download | zig-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 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions
