Add metadata type to maps debug information to aid debuggers knowing what is in it it

This commit is contained in:
gingerBill
2024-02-12 12:29:37 +00:00
parent 900fe95ba0
commit c291fffce1
3 changed files with 31 additions and 1 deletions

View File

@@ -710,7 +710,7 @@ gb_internal void lb_debug_complete_types(lbModule *m) {
case Type_Map:
GB_ASSERT(t_raw_map != nullptr);
bt = base_type(t_raw_map);
bt = base_type(t->Map.debug_metadata_type);
/*fallthrough*/
case Type_Struct:
if (file == nullptr) {