Skip to content

cmd/go: bad error about missing import #48907

Closed
@rsc

Description

@rsc

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions