diff --git a/doc/go_spec.html b/doc/go_spec.html index 3517834463a..d52d050cd8c 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2905,21 +2905,18 @@ order. Otherwise, the order of evaluation is unspecified.
-For example, while evaluating the arguments for this call
-to function f
,
+For example, in the assignment
-f(g(), h() + x[i()], <-c) +y[f()], ok = g(h(), i() + x[j()], <-c), k()
-the call to g()
happens before the call to h()
,
-which happens before the call to i()
, all of
-of which happen before receiving the value from the channel
-c
.
-However, the order of those events compared to the evaluation of
-f
, the evaluation of x
, and the indexing
-of x
by the return value of
-i()
is not specified.
+the function calls and communication happen in the order
+f()
, h()
, i()
, j()
,
+<-c
, g()
, and k()
.
+However, the order of those events compared to the evaluation
+and indexing of x
and the evaluation
+of y
is not specified.