Fix debug issue with maps
This commit is contained in:
1 parent
bc191d4f84
commit
ff24cfe314
1 file changed
+2
-2
@@ -746,8 +746,8 @@ gb_internal void lb_debug_complete_types(lbModule *m) {
|
|||||||
|
|
||||||
case Type_Map:
|
case Type_Map:
|
||||||
GB_ASSERT(t_raw_map != nullptr);
|
GB_ASSERT(t_raw_map != nullptr);
|
||||||
bt = base_type(bt->Map.debug_metadata_type);
|
// bt = base_type(bt->Map.debug_metadata_type);
|
||||||
// bt = base_type(t_raw_map);
|
bt = base_type(t_raw_map);
|
||||||
GB_ASSERT(bt->kind == Type_Struct);
|
GB_ASSERT(bt->kind == Type_Struct);
|
||||||
/*fallthrough*/
|
/*fallthrough*/
|
||||||
case Type_Struct:
|
case Type_Struct:
|
||||||
|
|||||||
Reference in new issue
Block a user