diff options
author | Russ Cox <rsc@golang.org> | 2011-03-11 14:47:44 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-03-11 14:47:44 -0500 |
commit | cd7ff82c4f7f8cdd828dca2ffdfaaafa88e68dff (patch) | |
tree | e27ed488b523939eb09324b9fcb863d042fc7743 /test/ddd1.go | |
parent | 7d84874adb56c2e0d79f3792ab007a88759f22e0 (diff) | |
download | go-cd7ff82c4f7f8cdd828dca2ffdfaaafa88e68dff.tar.gz |
go code: replace closed(c) with x, ok := <-c
R=golang-dev, rog, bradfitzwork, r
CC=golang-dev
http://codereview.appspot.com/4243072
Diffstat (limited to 'test/ddd1.go')
-rw-r--r-- | test/ddd1.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ddd1.go b/test/ddd1.go index fcd32c282..ff6342843 100644 --- a/test/ddd1.go +++ b/test/ddd1.go @@ -35,7 +35,6 @@ func bad(args ...int) { ch := make(chan int) close(ch...) // ERROR "[.][.][.]" _ = len(args...) // ERROR "[.][.][.]" - _ = closed(ch...) // ERROR "[.][.][.]" _ = new(int...) // ERROR "[.][.][.]" n := 10 _ = make([]byte, n...) // ERROR "[.][.][.]" |