Skip to content

x/tools/gopls: strange error in type checking #60904

Closed
@adonovan

Description

@adonovan

This was reported in #60551 (comment), but I think is a separate bug (in the ordinary type checking, not analysis component:

2023/06/13 10:49:34 computing the shared import graph: import failed for "vendor/golang.org/x/crypto/chacha20poly1305": internal error while importing "vendor/golang.org/x/crypto/chacha20poly1305" (conflicting names chacha20poly1305 and server for package "vendor/golang.org/x/crypto/chacha20poly1305"); please report an issue

I wonder whether we're making spurious hits in an ID or PackagePath-keyed import map because the current package is called "command-line-arguments"?

Activity

added
ToolsThis label describes issues relating to any tools in the x/tools repository.
goplsIssues related to the Go language server, gopls.
on Jun 20, 2023
added this to the Unreleased milestone on Jun 20, 2023
gopherbot

gopherbot commented on Jun 20, 2023

@gopherbot
Contributor

Change https://go.dev/cl/504695 mentions this issue: gopls/internal/lsp/cache: add debugging assertion for golang/go#60904

gopherbot

gopherbot commented on Jun 21, 2023

@gopherbot
Contributor

Change https://go.dev/cl/504815 mentions this issue: all: merge master (85554d6) into gopls-release-branch.0.12

added a commit that references this issue on Jun 21, 2023

all: merge master (85554d6) into gopls-release-branch.0.12

findleyr

findleyr commented on Jun 22, 2023

@findleyr
Member

We believe this was fixed by https://go.dev/cl/505219.

added a commit that references this issue on Jun 26, 2023
locked and limited conversation to collaborators on Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @adonovan@gopherbot@findleyr

        Issue actions

          x/tools/gopls: strange error in type checking · Issue #60904 · golang/go