Przeglądaj źródła

Fix typo in error message

gingerBill 5 lat temu
rodzic
commit
87a6d695d6
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
 			}