Commit d2b73730 authored by Russ Cox's avatar Russ Cox

exp/template/html: do not depend on reflection on internal fields

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5286049
parent 95b4f828
......@@ -25,6 +25,10 @@ type context struct {
err *Error
}
func (c context) String() string {
return fmt.Sprintf("{%v %v %v %v %v %v %v}", c.state, c.delim, c.urlPart, c.jsCtx, c.attr, c.element, c.err)
}
// eq returns whether two contexts are equal.
func (c context) eq(d context) bool {
return c.state == d.state &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment