aboutsummaryrefslogtreecommitdiff
path: root/src/check_stmt.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-12-12 21:22:46 +0000
committergingerBill <bill@gingerbill.org>2017-12-12 21:22:46 +0000
commitc980a30bad9fc98c21e4ea36b4e27568650cd601 (patch)
tree2c337ce2fb3ffc0004f607470b7381b0eea58d59 /src/check_stmt.cpp
parent78b459590c5b81ece8747cc2fdbb01e2b8dbdd42 (diff)
parent054e24103329022b1d918505cc5a61f8540c0e13 (diff)
Merge branch 'checker-optimizations' into explicit-overloading
# Conflicts: # examples/demo.odin
Diffstat (limited to 'src/check_stmt.cpp')
-rw-r--r--src/check_stmt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_stmt.cpp b/src/check_stmt.cpp
index 140e5a5ea..31caca15a 100644
--- a/src/check_stmt.cpp
+++ b/src/check_stmt.cpp
@@ -845,7 +845,7 @@ void check_type_switch_stmt(Checker *c, AstNode *node, u32 mod_flags) {
}
- Map<bool> seen = {}; // Multimap
+ Map<bool> seen = {}; // Multimap, Key: Type *
map_init(&seen, heap_allocator());
for_array(i, bs->stmts) {