go/src/text/template
Emmanuel Odeke 590c5b0807 text/template: support indexing into *int* maps
Ensure that we can index maps whose key types are:
* int
* uint
* int32
* uint32
* int64
* uint64
* uintptr

Fixes #20439

Change-Id: I8fa96b14073c8af72786482ff4ffc3508064ea86
Reviewed-on: https://go-review.googlesource.com/43850
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-08-12 00:21:16 +00:00
..
parse all: remove some unused parameters in test code 2017-04-25 14:38:10 +00:00
testdata
doc.go all: single space after period 2017-06-09 20:29:09 +00:00
example_test.go text/template, html/template: fix block example name 2015-09-29 00:17:40 +00:00
examplefiles_test.go
examplefunc_test.go
exec.go template: warn about interleaved nature of writes 2017-05-05 17:58:56 +00:00
exec_test.go text/template: support indexing into *int* maps 2017-08-12 00:21:16 +00:00
funcs.go text/template: support indexing into *int* maps 2017-08-12 00:21:16 +00:00
helper.go html/template, text/template: clarify Parse{Files,Glob} semantics 2016-04-22 02:01:54 +00:00
multi_test.go text/template: fix handling of empty blocks 2017-04-04 15:46:02 +00:00
option.go text/template: make zero Template work again 2015-06-24 22:27:33 +00:00
template.go text/template: fix handling of empty blocks 2017-04-04 15:46:02 +00:00