]> Cypherpunks repositories - gostls13.git/commit
exp/template: delete upward evaluation.
authorRob Pike <r@golang.org>
Fri, 8 Jul 2011 22:59:56 +0000 (08:59 +1000)
committerRob Pike <r@golang.org>
Fri, 8 Jul 2011 22:59:56 +0000 (08:59 +1000)
commitbbf5eb5ba2dc714a2bca2d4d4affe446f779c1d6
treed5e845feaa4a5afaeb6e81ae9f0e6b940cc2d276
parentd3d08e1e3a5dfd5b3a7a3112e503f7bcc76bf343
exp/template: delete upward evaluation.
It was an ill-advised carryover from the previous template package.
Also clean up function evaluation.
Also add a Name method to Template.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4657088
src/pkg/exp/template/exec.go
src/pkg/exp/template/exec_test.go
src/pkg/exp/template/parse.go