mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-16 16:14:06 +00:00
Minor change to bit_field assignment rules
This commit is contained in:
@@ -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, ", ");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user