diff options
| author | Laytan Laats <laytanlaats@hotmail.com> | 2025-01-08 21:24:22 +0100 |
|---|---|---|
| committer | Laytan Laats <laytanlaats@hotmail.com> | 2025-01-08 21:24:22 +0100 |
| commit | b3c359557e7c3a1a298ac5b46af122415e43bf77 (patch) | |
| tree | 28ba69c305b66b97d17e50578556b2843d7dcb6e /src/llvm_backend_debug.cpp | |
| parent | 7185a93a8631060958565d6e3fba03b4b6eeccce (diff) | |
`#no_nil` third time's the charm
Diffstat (limited to 'src/llvm_backend_debug.cpp')
| -rw-r--r-- | src/llvm_backend_debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/llvm_backend_debug.cpp b/src/llvm_backend_debug.cpp index 6740cd1a2..2252c4a31 100644 --- a/src/llvm_backend_debug.cpp +++ b/src/llvm_backend_debug.cpp @@ -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; } |