aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index d6b454bf4..4184d5b30 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -8196,7 +8196,7 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
}
error_line("\n");
- error_line("\tSuggestion: Was '#partial %s {...}' wanted?\n", type_to_string(index_type));
+ error_line("\tSuggestion: Was '#partial %s{...}' wanted?\n", type_to_string(type));
}
}