From dae22574d8b3ebfde5306a8f85e92a162113ddf2 Mon Sep 17 00:00:00 2001
From: lochana-chathura <39232462+lochana-chathura@users.noreply.github.com>
Date: Wed, 12 Jun 2024 08:15:31 +0530
Subject: [PATCH] Fix a few typos (#1306)
---
lang/spec.html | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lang/spec.html b/lang/spec.html
index db759327..d421057d 100644
--- a/lang/spec.html
+++ b/lang/spec.html
@@ -8221,7 +8221,7 @@
Worker message passing
could be executed more than once.
-There are three types determined at compile-time for each slot:
+There are four types determined at compile-time for each slot:
- a message type: if a message v is written to the slot, then v belongs to the
@@ -8233,7 +8233,7 @@
Worker message passing
- a send failure type: this is the type of termination failure in the sending
worker that caused the corresponding message not to be sent; more precisely, for
any slot index i, if it is possible for i to be ≥
-the value of index w of the queue at the time when the sending worker
+the index w of the queue at the time when the sending worker
completes normally with termination value e, then e
belongs to the send failure type of the slot with index i; it is a
compile-time error if the send failure type is not a (possibly empty) subtype of
@@ -8241,7 +8241,7 @@
Worker message passing
- a receive failure type: this is the type of termination failure in the
receiving worker that caused the corresponding message not to be received; more
precisely, for any slot index i, if it is possible for i
-to be ≥ the value of index r of the queue at the time when the
+to be ≥ the index r of the queue at the time when the
receiving worker completes normally with termination value e, then
e belongs to the receive failure type of the slot with index
i; it is a compile-time error if the receive failure type is not a
@@ -8349,8 +8349,8 @@
Flush action
A flush-action with peer-worker R occurring within worker W is associated with the
queue with sending worker W and receiving worker R. Evaluating
the flush-action flushes the queue up to index
-i where k is the number of send-actions in W that syntactically
-precede the flush-action. More precisely, the evaluation of a flush-action waits until
+i where i is the number of send-actions in W that syntactically
+precede the flush-action. More precisely, the evaluation of a flush-action waits
until either the index r of the queue is ≥
i or the receiving worker has terminated. It then completes as
follows: