commit | 27c74d3499b12288fb4a944ce5376820dee1c8b1 | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Fri Jan 21 15:07:13 2011 -0500 |
committer | Russ Cox <rsc@golang.org> | Fri Jan 21 15:07:13 2011 -0500 |
tree | 908644fb4876269c4ba977d120e48e796c17b9bb | |
parent | 0a5fc261b65aff5c66033eb22edd6f7acd4f6bbd [diff] |
spec, runtime, tests: send on closed channel panics Close of closed channel panics. Receive from closed channel never panics, even if done repeatedly. Fixes #1349. Fixes #1419. R=gri, iant, ken2, r, gri1, r2, iant2, rog, albert.strasheim, niemeyer, ejsherry CC=golang-dev https://golang.org/cl/3989042