mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-06 18:54:12 +00:00
#no_nil third time's the charm
This commit is contained in:
@@ -439,7 +439,7 @@ gb_internal LLVMMetadataRef lb_debug_union(lbModule *m, Type *type, String name,
|
||||
Type *variant = bt->Union.variants[j];
|
||||
|
||||
ptrdiff_t variant_index = j;
|
||||
if (bt->Union.kind == UnionType_no_nil) {
|
||||
if (bt->Union.kind != UnionType_no_nil) {
|
||||
variant_index += 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user