mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +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];
|
Type *variant = bt->Union.variants[j];
|
||||||
|
|
||||||
ptrdiff_t variant_index = j;
|
ptrdiff_t variant_index = j;
|
||||||
if (bt->Union.kind == UnionType_no_nil) {
|
if (bt->Union.kind != UnionType_no_nil) {
|
||||||
variant_index += 1;
|
variant_index += 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user