/ go Public
cmd/go, x/tools/gopls: misleading errors for invalid import #59433
Issues related to the Go language server, gopls.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
This label describes issues relating to any tools in the x/tools repository.
Just noticed this while refactoring import paths:
In this case, I'm in the process of moving the 'tag' package, and the old location no longer exists. I believe the error message is due to the logic here: https://cs.opensource.google/go/x/tools/+/master:internal/gcimporter/iimport.go;l=218;drc=fa556487c5c2be818dd2bab43e16f1afa06f8f89
The problem is that we're now importing packages with broken metadata, and invalid imports appear to have package path "".
The text was updated successfully, but these errors were encountered: