diff --git a/src/codegen.cpp b/src/codegen.cpp index ef8169b789d0d5ba0c11fa22bcf53c4c1e5a10f0..a53174ab89e8ffe1bbc931a0e1a579dd9c87905e 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -5293,12 +5293,12 @@ static void get_c_type(CodeGen *g, TypeTableEntry *type_entry, Buf *out_buf) { } } case TypeTableEntryIdStruct: + case TypeTableEntryIdOpaque: { // TODO add to table of structs we need to declare buf_init_from_buf(out_buf, &type_entry->name); return; } - case TypeTableEntryIdOpaque: case TypeTableEntryIdArray: case TypeTableEntryIdErrorUnion: case TypeTableEntryIdPureError: