mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 07:08:48 +00:00
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:
@@ -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