go/test/chan
Rob Pike 3f5edd2461 test/chan/select5.go: change "with" to "if" in templatea
I converted this program yesterday and the output is the
same as it used to be, ignoring space, but the result is
not the best expression of the algorithm.  The old {.section
Maybe} pieces are now {{with .Maybe}}, as a direct translation,
but I they should be {{if .Maybe}} as the output is just a
bool and there is no cascading.

I have verified that the output of the program is unaffected.

R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/4889053
2011-08-18 13:27:18 +10:00
..
doubleselect.go test/chan/doubleselect: fix various races 2011-01-21 15:06:44 -05:00
fifo.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
goroutines.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
nonblock.go replace non-blocking send, receive syntax with select 2011-01-31 18:36:28 -05:00
perm.go go code: replace closed(c) with x, ok := <-c 2011-03-11 14:47:44 -05:00
powser1.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
powser2.go test: remove semiocolons. 2010-09-04 10:36:13 +10:00
select.go delete all uses of panicln by rewriting them using panic or, 2010-03-24 16:46:53 -07:00
select2.go runtime: correct memory leak in select 2010-04-01 11:56:18 -07:00
select3.go gc: implement nil chan support 2011-08-17 15:54:17 -04:00
select4.go gc: allow select case expr = <-c 2010-09-27 12:04:21 -04:00
select5.go test/chan/select5.go: change "with" to "if" in templatea 2011-08-18 13:27:18 +10:00
select6.go runtime: fix select pass 3 2011-07-18 16:15:01 -04:00
sendstmt.go gc: fix send precedence 2011-02-01 08:29:21 -05:00
sieve1.go single argument panic 2010-03-30 10:34:57 -07:00
sieve2.go single argument panic 2010-03-30 10:34:57 -07:00
zerosize.go runtime: fix panic for make(chan [0]byte). 2011-07-18 15:54:11 +10:00