]> Cypherpunks repositories - gostls13.git/commit
exp/template: simplify method and function calls by using the value's Method
authorRob Pike <r@golang.org>
Thu, 14 Jul 2011 01:00:23 +0000 (11:00 +1000)
committerRob Pike <r@golang.org>
Thu, 14 Jul 2011 01:00:23 +0000 (11:00 +1000)
commit19e207d24d228f996dcc1317bba0ac2a811c877a
tree70bfd4a8c9a3920fb7c14857ce994dd9d57265fa
parent689a2ec8c3896b122907fcb5e3d1399ca4598099
exp/template: simplify method and function calls by using the value's Method
rather than the type's, so a method's invocation works the same as a function's.

R=golang-dev, rsc, r
CC=golang-dev
https://golang.org/cl/4704049
src/pkg/exp/template/exec.go