- Martin
Did you find out by reading the language specification or by running a
simple program?
Did you find out by reading the language specification or by running a
simple program?
A nil channel is never ready for communication.
Trying to send/receive from a nil channel causes a run-time panic.
On Sun, Oct 9, 2011 at 7:56 PM, Andrew Gerrand <a...@golang.org> wrote:
The spec doesn't specify it. It probably should.
I'm not sure. The relevantiest section of the spec is: