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:
1 parent
f63b9806d2
commit
c704de8442
2 files changed
+6
No files matched your search
@@ -609,6 +609,7 @@ Union_Type :: struct {
|
||||
variants: []^Expr,
|
||||
where_token: tokenizer.Token,
|
||||
where_clauses: []^Expr,
|
||||
is_maybe: bool,
|
||||
}
|
||||
|
||||
Enum_Type :: struct {
|
||||
|
||||
Reference in new issue
Block a user