Minor change to bit_field assignment rules

This commit is contained in:
gingerBill
2019-05-04 13:02:15 +01:00
parent 40135cbc66
commit a46a1f5f34
4 changed files with 44 additions and 17 deletions

View File

@@ -2953,7 +2953,6 @@ gbString write_type_to_string(gbString str, Type *type) {
Entity *f = type->BitField.fields[i];
GB_ASSERT(f->kind == Entity_Variable);
GB_ASSERT(f->type != nullptr && f->type->kind == Type_BitFieldValue);
str = gb_string_append_rune(str, '{');
if (i > 0) {
str = gb_string_appendc(str, ", ");
}