ソースを参照

Fix typo in error message

gingerBill 5 年 前
コミット
87a6d695d6
1 ファイル変更1 行追加1 行削除
  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;
 			}