Try storing a pointer to a fake metadata type in the debug info for a map

This commit is contained in:
gingerBill
2024-03-30 10:29:20 +00:00
parent d84d65ba45
commit 4edcaa6124
2 changed files with 6 additions and 8 deletions

View File

@@ -748,8 +748,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: