Update to current version of Go library.

From-SVN: r171427
This commit is contained in:
Ian Lance Taylor 2011-03-24 23:46:17 +00:00
parent 7114321ee4
commit 8039ca76a5
168 changed files with 8977 additions and 2743 deletions

View file

@ -306,8 +306,8 @@ func recvValues(multiplex chan<- interface{}, channel interface{}) {
c := reflect.NewValue(channel).(*reflect.ChanValue)
for {
v := c.Recv()
if c.Closed() {
v, ok := c.Recv()
if !ok {
multiplex <- channelClosed{channel}
return
}