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

cmd/go: bad error about missing import #48907

Open
rsc opened this issue Oct 11, 2021 · 0 comments
Open

cmd/go: bad error about missing import #48907

rsc opened this issue Oct 11, 2021 · 0 comments
Labels
Milestone

Comments

@rsc
Copy link
Contributor

@rsc rsc commented Oct 11, 2021

I deleted cmd/internal/str and tried to build cmd/link. I get

% go build cmd
link/internal/ld/main.go:37:2: cannot find package "." in:
/Users/rsc/go/src/cmd/internal/str
%

There is no mention of an import of ".", so the message should not mention "." either.

@rsc rsc added the NeedsFix label Oct 11, 2021
@rsc rsc added this to the Go1.18 milestone Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant