aboutsummaryrefslogtreecommitdiff
path: root/src/check_type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_type.cpp')
-rw-r--r--src/check_type.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/check_type.cpp b/src/check_type.cpp
index 7be70c11d..118c9a622 100644
--- a/src/check_type.cpp
+++ b/src/check_type.cpp
@@ -2794,6 +2794,8 @@ void check_map_type(CheckerContext *ctx, Type *type, Ast *node) {
if (is_type_string(key)) {
add_package_dependency(ctx, "runtime", "default_hash_string");
+ } else {
+ add_package_dependency(ctx, "runtime", "default_hash_ptr");
}