diff options
| author | gingerBill <bill@gingerbill.org> | 2023-05-19 11:18:20 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-05-19 11:18:20 +0100 |
| commit | 2631e07beab29558249341c329c69bb604dd61fb (patch) | |
| tree | 8bd29f9d3e88f38609899833e62dffc8acdc9299 /src/parser.hpp | |
| parent | 76a1851cb80a181a24140efedf8914d3cedc8051 (diff) | |
Add `intrinsics.type_merge`
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index 5302fd274..aea3bbf21 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -356,6 +356,15 @@ enum UnionTypeKind : u8 { UnionType_Normal = 0, UnionType_no_nil = 2, UnionType_shared_nil = 3, + + UnionType_COUNT +}; + +gb_global char const *union_type_kind_strings[UnionType_COUNT] = { + "(normal)", + "#maybe", + "#no_nil", + "#shared_nil", }; #define AST_KINDS \ |