Browse Source

fix check

Laytan 1 week ago
parent
commit
d343b93ef2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/checker.cpp

+ 1 - 1
src/checker.cpp

@@ -6952,7 +6952,7 @@ gb_internal void check_parsed_files(Checker *c) {
 					if (entry.key != tt.hash) {
 					if (entry.key != tt.hash) {
 						continue;
 						continue;
 					}
 					}
-					auto const &other = type_info_types[entry.value];
+					auto const &other = c->info.type_info_types_hash_map[entry.value];
 					if (are_types_identical_unique_tuples(tt.type, other.type)) {
 					if (are_types_identical_unique_tuples(tt.type, other.type)) {
 						continue;
 						continue;
 					}
 					}