zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f69d28a0875effbfbd704f3ca7947c95eae05e2f (tree)
parent 24a9a42966dc9c0654314ad99866699208776025
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Tue,  2 May 2017 18:21:55 -0400

fix debug info for nullable type

Diffstat:
Msrc/analyze.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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,