Added the #maybe directive to the union struct in the AST. Also added it to the parsing code for a union.

This commit is contained in:
zhibog committed 2020-04-25 18:21:32 +02:00
1 parent f63b9806d2
commit c704de8442
2 files changed
+6

No files matched your search

+1
View File
@@ -609,6 +609,7 @@ Union_Type :: struct {
variants: []^Expr,
where_token: tokenizer.Token,
where_clauses: []^Expr,
is_maybe: bool,
}
Enum_Type :: struct {