aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/_preload.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/_preload.odin b/core/_preload.odin
index 9d012de0d..597ef284b 100644
--- a/core/_preload.odin
+++ b/core/_preload.odin
@@ -417,7 +417,7 @@ __get_map_header :: proc(m: ^map[$K]$V) -> __MapHeader #cc_contextless {
value: V;
}
- _, is_string := type_info_base(type_info(K)).(^TypeInfo.String);
+ _, is_string := type_info_base(type_info(K)).variant.(TypeInfo.String);
header.is_key_string = is_string;
header.entry_size = size_of(Entry);
header.entry_align = align_of(Entry);