Explorar o código

Fix typo in error message

gingerBill %!s(int64=5) %!d(string=hai) anos
pai
achega
87a6d695d6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/check_stmt.cpp

+ 1 - 1
src/check_stmt.cpp

@@ -66,7 +66,7 @@ void check_stmt_list(CheckerContext *ctx, Array<Ast *> const &stmts, u32 flags)
 
 			case Ast_ExprStmt:
 				if (is_divigering_stmt(n)) {
-					error(n, "Statements after a non-diverging procedure call are never executed");
+					error(n, "Statements after a diverging procedure call are never executed");
 				}
 				break;
 			}