go/src/text/template
Rob Pike 1cd78eedd0 text/template: fix bug in pipelined variadics
Simple bug in argument processing: The final arg may
be the pipeline value, in which case it gets bound to the
fixed argument section. The code got that wrong. Easy
to fix.

Fixes #8950.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/161750043
2014-10-18 11:22:05 -07:00
..
parse
testdata
doc.go
example_test.go
examplefiles_test.go
examplefunc_test.go
exec.go text/template: fix bug in pipelined variadics 2014-10-18 11:22:05 -07:00
exec_test.go text/template: fix bug in pipelined variadics 2014-10-18 11:22:05 -07:00
funcs.go
helper.go
multi_test.go
template.go