diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-12-28 20:17:34 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-12-28 20:20:30 -0700 |
| commit | 81a3910e443c71674a5eb96487431721bb8f1cad (patch) | |
| tree | 51ba8b555c7ba60c4efb52b67d6ec8b06bd57f43 /src/Module.zig | |
| parent | 6229d37dcfec393880109c7aaed1c18d08756631 (diff) | |
| download | zig-81a3910e443c71674a5eb96487431721bb8f1cad.tar.gz zig-81a3910e443c71674a5eb96487431721bb8f1cad.zip | |
Sema: improve union support
* reduce number of branches in zirCmpEq
* implement equality comparison for enums and unions
* fix coercion from union to its tag type resulting in the wrong type
* fix method calls of unions
* implement peer type resolution for unions, enums, and enum literals
* fix union tag type memory in the wrong arena
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
