Closed
Description
What version of Go are you using (go version
)?
The error happens in go version devel +295307a Tue Mar 14 18:49:23 2017 +0000 linux/amd64
and not in the immediately previous commit go version devel +6917553
. This commit is for issue #19361 'cmd/compile: Devirtualize calls when concrete type behind interface is statically known', so perhaps this bug report should go on to that issue.
What operating system and processor architecture are you using (go env
)?
GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
What did you do?
GOPATH=/tmp/test; export GOPATH
go get github.com/tsenart/vegeta
# github.com/tsenart/vegeta
2017/03/14 15:48:55 duplicate symbol github.com/tsenart/vegeta/lib.(*Results).Len (types 1 and 1) in main and /tmp/test/pkg/linux_amd64/github.com/tsenart/vegeta/lib.a(_go_.o)
What did you expect to see?
No compile error.
What did you see instead?
The compile error shown above.