]> git.ipfire.org Git - thirdparty/gcc.git/commit
Don't permit close of receive-only channel.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 25 Oct 2011 16:35:24 +0000 (16:35 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 25 Oct 2011 16:35:24 +0000 (16:35 +0000)
commit09367c0d60f551d7d05b6212b649a71636b623ce
treec10e4945a3688d1e9989fda3872cb8d6ba04f4e3
parent0d53e34681bfbb0849726ee8d3b17cf330a33a76
Don't permit close of receive-only channel.

Better panic on attempt to close nil channel.

From-SVN: r180437
gcc/go/gofrontend/expressions.cc
libgo/runtime/go-close.c