Browse Source

Fix typo in error message

gingerBill 5 năm trước cách đây
mục cha
commit
87a6d695d6
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 			}