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
cmd/go: relative path argument should not cause search #12385
Comments
I've started looking into this. The underlying issue happens in Thus, with I am wondering whether the ./ioutil -> io/ioutil rewrite is even a useful feature and whether the logic should be fixed, or removed entirely. |
It's useful, it just shouldn't trigger a search. When you're in src/math and run go test ./rand you want to get math/rand not a relative import. |
CL https://golang.org/cl/16944 mentions this issue. |
CL 16944 didn't work and was abandoned. (Writing this because I click on it every time I view this issue.) The actual fix is not obvious. |
This is fixed in module mode, but not in
|
There is no ./jfmt directory in this example. That should be the end. It should not figure out that I am in $GOPATH/src/code.google.com/p/rsc and go looking for code.google.com/p/rsc/jfmt in other work spaces.
The text was updated successfully, but these errors were encountered: