1
0
mirror of https://github.com/golang/go synced 2024-11-06 00:26:11 -07:00
go/src
Rob Pike be5a201e2a text/template: fix handling of empty blocks
This was a subtle bug introduced in the previous release's fix for
issue 16156.

The definition of empty template was broken, causing the answer
to depend on the order of templates in the map.

Fixes #16156 (for real).
Fixes #19294.
Fixes #19204.

Change-Id: I1cd915c94534cad3116d83bd158cbc28700510b9
Reviewed-on: https://go-review.googlesource.com/38420
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2017-04-04 15:46:02 +00:00
..
archive archive/zip: parallelize benchmarks 2017-03-15 18:26:51 +00:00
bufio
builtin
bytes bytes, strings: declare variables inside loop they're used in 2017-04-03 23:30:36 +00:00
cmd cmd/compile: intrinsics for math/bits.OnesCount 2017-04-04 02:40:11 +00:00
compress
container
context all: fix minor misspellings 2017-04-03 23:19:07 +00:00
crypto crypto/*: fix spelling of 'below' 2017-03-20 16:03:18 +00:00
database/sql database/sql: support scanning into user defined string types 2017-03-31 05:02:02 +00:00
debug debug/pe: add TestBuildingWindowsGUI 2017-03-30 01:19:57 +00:00
encoding encoding/pem: yet another fuzz fake failure 2017-04-03 18:46:56 +00:00
errors
expvar expvar: add benchmark for (*Map).Set with per-goroutine keys 2017-03-10 19:09:48 +00:00
flag flag: validate Int and Uint values to be in range 2017-03-21 17:00:26 +00:00
fmt
go all: fix minor misspellings 2017-04-03 23:19:07 +00:00
hash all: fix minor misspellings 2017-04-03 23:19:07 +00:00
html text/template,html/template: state that Funcs must happen before parsing 2017-03-21 04:07:35 +00:00
image image/png: decode Gray8 transparent images. 2017-03-17 07:50:05 +00:00
index/suffixarray
internal cmd/link: skip TestDWARF when cgo is disabled 2017-03-30 22:32:33 +00:00
io
log
math all: fix minor misspellings 2017-04-03 23:19:07 +00:00
mime mime/multipart: add Size to FileHeader 2017-04-01 10:04:56 +00:00
net all: fix minor misspellings 2017-04-03 23:19:07 +00:00
os all: fix minor misspellings 2017-04-03 23:19:07 +00:00
path
plugin
reflect reflect: fix out-of-bounds pointers calling no-result method 2017-03-29 15:28:49 +00:00
regexp regexp: reduce allocations at makeOnePass 2017-03-29 20:35:08 +00:00
runtime all: fix minor misspellings 2017-04-03 23:19:07 +00:00
sort
strconv strconv: optimize decimal ints formatting with smallsString 2017-03-22 16:03:28 +00:00
strings strings: speed up Fields 2017-04-04 06:26:11 +00:00
sync
syscall syscall: skip test on TestUnshareMountNameSpace permission error 2017-03-31 03:24:46 +00:00
testing testing/quick: generate all possible int64, uint64 values 2017-04-03 14:01:25 +00:00
text text/template: fix handling of empty blocks 2017-04-04 15:46:02 +00:00
time testing/quick: generate all possible int64, uint64 values 2017-04-03 14:01:25 +00:00
unicode
unsafe
vendor/golang_org/x net/http: import updated idna package and adjust request.go 2017-03-24 13:30:17 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash src/*.bash: use tabs consistently 2017-03-09 21:30:31 +00:00
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash *.bash: always use the same string equality operator 2017-03-14 21:46:31 +00:00
make.bash *.bash: always use the same string equality operator 2017-03-14 21:46:31 +00:00
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash *.bash: always use the same string equality operator 2017-03-14 21:46:31 +00:00
run.bat
run.rc