Fix __get_map_key
This commit is contained in:
1 parent
08c490d9ac
commit
c7a70be824
2 files changed
+8
-2
No files matched your search
@@ -816,7 +816,8 @@ __get_map_header :: proc "contextless" (m: ^$T/map[$K]$V) -> Map_Header {
|
||||
return header;
|
||||
}
|
||||
|
||||
__get_map_key :: proc "contextless" (key: $K) -> Map_Key {
|
||||
__get_map_key :: proc "contextless" (k: $K) -> Map_Key {
|
||||
key := k;
|
||||
map_key: Map_Key;
|
||||
ti := type_info_base_without_enum(type_info_of(K));
|
||||
switch _ in ti.variant {
|
||||
|
||||
Reference in new issue
Block a user