diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-05-05 16:07:27 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-05-05 16:09:59 -0400 |
| commit | df4849c4f5aafc7eb80fd7b2299b49162fa2aa79 (patch) | |
| tree | 864575631cbefdbaffb8228e6085a224684d2eb4 /src/type.zig | |
| parent | da878dc0776b56c1e2c251857a40415a35e9535a (diff) | |
| download | zig-df4849c4f5aafc7eb80fd7b2299b49162fa2aa79.tar.gz zig-df4849c4f5aafc7eb80fd7b2299b49162fa2aa79.zip | |
AstGen: cleanup previous fix
Allocating an extended tag is much cleaner and easier to reason about
than reusing an existing tag. The previous `.data = undefined` was a
clear indication that we don't have any data to store, and so might as
well store an extended tag in that space almost for free.
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions
