From b691e08e2cbdbcc3963c78a60a80d0ff235600ce Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 28 Oct 2009 18:17:24 -0700 Subject: [PATCH] clarify rule for channel send R=rsc CC=go-dev http://go/go-review/1018002 --- doc/go_spec.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index c743f6d04d..c1ab22b7ae 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2528,8 +2528,9 @@ For operations involving constants only, see the section on

-In a channel send, the first operand is always a channel and the -second is a value of the channel's element type. +In a channel send, the first operand is always a channel and the second +must be a value assignment compatible +with the channel's element type.