mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-04 19:34:42 -04:00
fix wrong type in map debug info
This commit is contained in:
1 parent
7c2352ea08
commit
cfc85fd737
1 file changed
+1
-1
@@ -945,7 +945,7 @@ gb_internal LLVMMetadataRef lb_debug_type(lbModule *m, Type *type) {
|
||||
}
|
||||
|
||||
case Type_Map: {
|
||||
bt = base_type(type->Map.debug_metadata_type);
|
||||
bt = base_type(bt->Map.debug_metadata_type);
|
||||
GB_ASSERT(bt->kind == Type_Struct);
|
||||
return lb_debug_struct(m, type, bt, name, scope, file, line);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user