diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-05-02 18:21:55 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-05-02 18:21:55 -0400 |
| commit | f69d28a0875effbfbd704f3ca7947c95eae05e2f (patch) | |
| tree | e0f2cc97ee167d369d5bdbde70c63b0cdd32e991 /src | |
| parent | 24a9a42966dc9c0654314ad99866699208776025 (diff) | |
| download | zig-f69d28a0875effbfbd704f3ca7947c95eae05e2f.tar.gz zig-f69d28a0875effbfbd704f3ca7947c95eae05e2f.zip | |
fix debug info for nullable type
Diffstat (limited to 'src')
| -rw-r--r-- | src/analyze.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 9aa7c71b10..b9a5188b71 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -459,7 +459,7 @@ TypeTableEntry *get_maybe_type(CodeGen *g, TypeTableEntry *child_type) { maybe_debug_size_in_bits, maybe_debug_align_in_bits, maybe_offset_in_bits, - 0, child_type->di_type), + 0, bool_type->di_type), }; ZigLLVMDIType *replacement_di_type = ZigLLVMCreateDebugStructType(g->dbuilder, compile_unit_scope, |
