Use Raw_Map as the debug information for a map

This commit is contained in:
gingerBill
2024-02-13 15:50:07 +00:00
parent 563ce2bd81
commit 5cd57a3a7f
2 changed files with 5 additions and 1 deletions

View File

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