diff options
Diffstat (limited to 'src/check_stmt.cpp')
| -rw-r--r-- | src/check_stmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp index 3337aa13b..104733e67 100644 --- a/src/check_stmt.cpp +++ b/src/check_stmt.cpp @@ -1489,7 +1489,7 @@ void check_stmt_internal(Checker *c, AstNode *node, u32 flags) { GB_PANIC("Unknown type to type match statement"); } - HashKey key = hash_pointer(y.type); + HashKey key = hash_type(y.type); bool *found = map_get(&seen, key); if (found) { TokenPos pos = cc->token.pos; |