Descriptionspec: channel operations are restricted by the channel direction
Also:
- 'for' statements with a range clause do not accept send-only
channels
- '_, _ = range ch' is not equivalent to "_ = range ch" if ch
is a channel (rewriting the latter to the former leads to
an invalid range clause).
These clarifications document the status quo.
Patch Set 1 #Patch Set 2 : diff -r 1f3ebf9a7548 https://code.google.com/p/go #Patch Set 3 : diff -r 1f3ebf9a7548 https://code.google.com/p/go #
Total comments: 2
Patch Set 4 : diff -r 56b8a0a3ca74 https://code.google.com/p/go #MessagesTotal messages: 5
|