aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-03-25 21:20:12 +0000
committergingerBill <bill@gingerbill.org>2019-03-25 21:20:12 +0000
commit9e6d488063a7f3070ee68794364258de610c968e (patch)
tree8b358859850eb4e1c4a41ee8a0003f069293a106 /src/checker.cpp
parent4a156897764d3030a10ee5e3ce4b08e0e090365e (diff)
Modify slice_expr_error_* logic to change depending on which parameters are passed
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 971c714b2..f1e2bb45d 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -1606,7 +1606,8 @@ void generate_minimum_dependency_set(Checker *c, Entity *start) {
if (!build_context.no_bounds_check) {
String bounds_check_entities[] = {
str_lit("bounds_check_error"),
- str_lit("slice_expr_error"),
+ str_lit("slice_expr_error_hi"),
+ str_lit("slice_expr_error_lo_hi"),
str_lit("dynamic_array_expr_error"),
};
for (isize i = 0; i < gb_count_of(bounds_check_entities); i++) {