diff --git a/doc/go_spec.html b/doc/go_spec.html index 7509c0dd0df..68a1ea73a8c 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3609,9 +3609,10 @@ RecvExpr = [ Expression ( "=" | ":=" ) ] "<-" Expression .

For all the send and receive expressions in the "select" -statement, the channel expression is evaluated. Any expressions -that appear on the right hand side of send expressions are also -evaluated. If any of the resulting channels can proceed, one is +statement, the channel expressions are evaluated, along with +any expressions that appear on the right hand side of send expressions, +in top-to-bottom order. +If any of the resulting operations can proceed, one is chosen and the corresponding communication and statements are evaluated. Otherwise, if there is a default case, that executes; if not, the statement blocks until one of the communications can @@ -3654,10 +3655,6 @@ for { // send random sequence of bits to c } - -TODO: Make semantics more precise. - -

Return statements

@@ -4489,6 +4486,7 @@ The following minimal alignment properties are guaranteed: