]> Cypherpunks repositories - gostls13.git/commit
text/template: need to validate type when an argument is a function call
authorRob Pike <r@golang.org>
Wed, 13 May 2015 19:59:33 +0000 (12:59 -0700)
committerRob Pike <r@golang.org>
Thu, 14 May 2015 17:47:06 +0000 (17:47 +0000)
commit92bdbb8a3c8a5a6535d1eb3b2021824662ccaf33
tree84a24b858225f1626344911fbf3ec71c01f3d6e6
parentecfe42cab0c22da35aed6752cafaf0d3c7bb44d4
text/template: need to validate type when an argument is a function call

Missed a case; just need to call validateType.

Fixes #10800.

Change-Id: I81997ca7a9feb1be31c8b47e631b32712d7ffb86
Reviewed-on: https://go-review.googlesource.com/10031
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/text/template/exec.go
src/text/template/exec_test.go