From f69d28a0875effbfbd704f3ca7947c95eae05e2f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 2 May 2017 18:21:55 -0400 Subject: fix debug info for nullable type --- src/analyze.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3