go/src/text
Meng Zhuo 3298300ddf text/template: error on range over send channel
template range require channel contains RecvDir
if recv on send only channel will raise an panic.

Fixes #43065

Change-Id: Ie0ea70ce60e074bf8c9f2378e07ef1d4c41dc38f
Reviewed-on: https://go-review.googlesource.com/c/go/+/276532
Trust: Meng Zhuo <mzh@golangcn.org>
Run-TryBot: Meng Zhuo <mzh@golangcn.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
2020-12-15 13:59:00 +00:00
..
scanner text/scanner: remove AllowDigitSeparator flag again 2019-06-27 21:13:53 +00:00
tabwriter all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
template text/template: error on range over send channel 2020-12-15 13:59:00 +00:00