1
0
mirror of https://github.com/golang/go synced 2024-11-06 04:06:10 -07:00
go/src/text
Rob Pike 5c5a10690e text/template,html/template: state that Funcs must happen before parsing
Any method that affects the parse must happen before parsing.
This obvious point is clear, but it's not clear to some that the
set of defined functions affect the parse.

Fixes #18971

Change-Id: I8b7f8c8cf85b028c18e5ca3b9797de92ea910669
Reviewed-on: https://go-review.googlesource.com/38413
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-03-21 04:07:35 +00:00
..
scanner text/scanner: better error message if no error handler is installed 2016-05-25 15:44:28 +00:00
tabwriter all: freeze net/rpc and reword the 'frozen' message in other frozen packages 2016-10-26 16:11:07 +00:00
template text/template,html/template: state that Funcs must happen before parsing 2017-03-21 04:07:35 +00:00