-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: confusing error for non-existent go source files #48559
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
Comments
Ping from the release team: any updates on this release blocker? |
Briefly looked into this, but wasn't able to reproduce it. Outside a module in 1.17.1, I see this:
Inside a module:
What version of Go was this? What does |
@bcmills This is in the 1.18 milestone; time to move to 1.19? Thanks. (The current error isn't great since it treats |
Whoops, sorry, didn't mean to close this. |
This was improved somewhat by the fix for #48907, but it's still not ideal. |
This also turns out to be another in the cluster of |
Change https://go.dev/cl/386496 mentions this issue: |
For what it's worth, I'm not in /Users/rsc/go/src.
That's just the error looking for a std package named notexist.go.
It should show me an error more like 'no such file notexist.go'.
/cc @bcmills @jayconrod @matloob
The text was updated successfully, but these errors were encountered: