aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-04 13:30:27 +0000
committergingerBill <bill@gingerbill.org>2023-01-04 13:30:27 +0000
commitd06a0e7093c3f06a474a040385f1b9dfdfce29ad (patch)
tree4f17b0ce16394de0202f888db37d8b13660ce5f8 /src/check_stmt.cpp
parentb3a55b8b6f54b71bb527c2b2b1cbe8b01e28d8a2 (diff)
Improve the `PtrSet` to be as simple and small as possible
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index 9547035d0..b4dd4cd7d 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -1289,6 +1289,7 @@ gb_internal void check_type_switch_stmt(CheckerContext *ctx, Ast *node, u32 mod_
for (Type *t : variants) {
if (!type_ptr_set_exists(&seen, t)) {
array_add(&unhandled, t);
+ gb_printf_err("HERE: %p %s\n", t, type_to_string(t));
}
}