Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/go/analysis/multichecker: undefined: strings.ReplaceAll #28280

Closed
h8liu opened this issue Oct 19, 2018 · 3 comments
Closed

x/tools/go/analysis/multichecker: undefined: strings.ReplaceAll #28280

h8liu opened this issue Oct 19, 2018 · 3 comments

Comments

@h8liu
Copy link

h8liu commented Oct 19, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go 1.11.1

Does this issue reproduce with the latest release?

Yes (I guess)

What operating system and processor architecture are you using (go env)?

Does not matter.

What did you do?

go get golang.org/x/tools/go/analysis/multichecker

If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.

What did you expect to see?

Code builds

What did you see instead?

# golang.org/x/tools/go/analysis/multichecker
src/golang.org/x/tools/go/analysis/multichecker/multichecker.go:56:27: undefined: strings.ReplaceAll
src/golang.org/x/tools/go/analysis/multichecker/multichecker.go:75:15: undefined: strings.ReplaceAll

https://gopkgs.io/builds/20181019-175725-323b7467

@gopherbot gopherbot added this to the Unreleased milestone Oct 19, 2018
@h8liu
Copy link
Author

h8liu commented Oct 19, 2018

ReplaceAll is in tip, but not in latest release of go 1.11.1

@ianlancetaylor
Copy link
Contributor

CC @alandonovan

@alandonovan
Copy link
Contributor

Thanks. I just mailed https://go-review.googlesource.com/c/tools/+/143419.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants