#no_nil third time's the charm
This commit is contained in:
1 parent
7185a93a86
commit
b3c359557e
1 file changed
+1
-1
@@ -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