Fix debug issue with maps

This commit is contained in:
gingerBill
2024-03-01 14:00:14 +00:00
parent bc191d4f84
commit ff24cfe314

View File

@@ -746,8 +746,8 @@ gb_internal void lb_debug_complete_types(lbModule *m) {
case Type_Map:
GB_ASSERT(t_raw_map != nullptr);
bt = base_type(bt->Map.debug_metadata_type);
// bt = base_type(t_raw_map);
// bt = base_type(bt->Map.debug_metadata_type);
bt = base_type(t_raw_map);
GB_ASSERT(bt->kind == Type_Struct);
/*fallthrough*/
case Type_Struct: