Fix debug info issue

This commit is contained in:
gingerBill
2018-10-29 22:16:43 +00:00
parent efe91b1f91
commit 5aa591d884
2 changed files with 4 additions and 3 deletions

View File

@@ -912,7 +912,7 @@ Type *base_complex_elem_type(Type *t) {
bool is_type_struct(Type *t) {
t = base_type(t);
return (t->kind == Type_Struct && !t->Struct.is_raw_union);
return t->kind == Type_Struct;
}
bool is_type_union(Type *t) {
t = base_type(t);