mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-19 04:12:22 -07:00
union #no_nil
This commit is contained in:
@@ -715,6 +715,7 @@ void check_union_type(CheckerContext *ctx, Type *union_type, Ast *node, Array<Op
|
||||
}
|
||||
|
||||
union_type->Union.variants = variants;
|
||||
union_type->Union.no_nil = ut->no_nil;
|
||||
|
||||
if (ut->align != nullptr) {
|
||||
i64 custom_align = 1;
|
||||
|
||||
Reference in New Issue
Block a user