]> Cypherpunks repositories - gostls13.git/commit
exp/template: dig into empty interfaces so a struct (say) stored in an empty
authorRob Pike <r@golang.org>
Mon, 18 Jul 2011 07:34:42 +0000 (17:34 +1000)
committerRob Pike <r@golang.org>
Mon, 18 Jul 2011 07:34:42 +0000 (17:34 +1000)
commit9a5bb287e8cdea7196382c84e9e5536a8c552894
tree0fc0e4fc4fd41a39ecedd0f8645fa37435bf0f5e
parentab55133ca937c0085de5594773e2b55a0bb20e3b
exp/template: dig into empty interfaces so a struct (say) stored in an empty
interface field can be unpacked. We don't have type assertions here so we
must be forthright.

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