Browse Source

Minor correction to error message suggestion

gingerBill 3 years ago
parent
commit
23c3573c30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/check_expr.cpp

+ 1 - 1
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("\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));
 				}
 				}
 			}
 			}