You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import the latest golang.org/x/net and run tests on go1.11beta1.
What did you expect to see?
Tests passed.
What did you see instead?
vendor/golang.org/x/net/http2/go111.go:12:30: trace.WroteHeaderField undefined (type *clientTrace has no field or method WroteHeaderField)
vendor/golang.org/x/net/http2/go111.go:16:26: trace.WroteHeaderField undefined (type *clientTrace has no field or method WroteHeaderField)
vendor/golang.org/x/net/http2/go111.go:17:8: trace.WroteHeaderField undefined (type *clientTrace has no field or method WroteHeaderField)
#19761 shows the history of the related changes. 1.11beta1 was released on June 26. The trace api change was merged on June 27. So you’ll need a release later than 1.11beta1 or use tip.
What version of Go are you using (
go version
)?go version go1.11beta1 linux/amd64
Does this issue reproduce with the latest release?
No, because it is related only to Go 1.11 (which beta) (https://github.com/golang/net/blob/master/http2/go111.go).
What operating system and processor architecture are you using (
go env
)?https://travis-ci.org/kamilsk/click/jobs/405409835
What did you do?
Import the latest
golang.org/x/net
and run tests on go1.11beta1.What did you expect to see?
Tests passed.
What did you see instead?
As I see
go/src/net/http/httptrace/trace.go
Lines 80 to 159 in a12c1f2
ClientTrace
doesn't haveWroteHeaderField
method.The text was updated successfully, but these errors were encountered: