]> Cypherpunks repositories - gostls13.git/commit
text/template: don't panic when using AddParseTree with an unparsed template
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 31 Dec 2013 01:17:19 +0000 (17:17 -0800)
committerRob Pike <r@golang.org>
Tue, 31 Dec 2013 01:17:19 +0000 (17:17 -0800)
commitff006982c355bef55fb7b36944a1cc661bacf287
tree35cde0eebaece483f48c6d50ff5db7087c7f7346
parent8183ed19b9de8dbc40e40041e530d796246f0514
text/template: don't panic when using AddParseTree with an unparsed template

Fixes #7032.

R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/43960045
src/pkg/text/template/multi_test.go
src/pkg/text/template/template.go