diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-12-24 11:19:46 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2020-12-24 15:57:12 +0200 |
| commit | e18abab55aea4a5c3b347274e41de9fdc24e950c (patch) | |
| tree | fdf2716108151ffcddde84eaf5431fb27fbfac5f /src/codegen | |
| parent | 83646df2cce59f254822355ec1ceeb6884e1177e (diff) | |
| download | zig-e18abab55aea4a5c3b347274e41de9fdc24e950c.tar.gz zig-e18abab55aea4a5c3b347274e41de9fdc24e950c.zip | |
stage1: Create a new declaration scope for union enum types
Making the enum type share the scope with the parent union means every
declaration "bleeds" into the enum scope.
Let's mint a fresh empty scope for the enum type.
Thanks to @Vexu for the test case.
Closes #7532
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
