x/tools/gopls: reports incorrect type for cgo errno value #49777
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
not sure
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I wrote this program to test error handling in cgo,
Bug
I found the language server says type of
err
isbool
. It actually issyscall.Errno
.I am using VSCode editor and I know this can be problem of vscode plugin, but I don't have knowledge to check what tool is buggy, so I report here first.
The text was updated successfully, but these errors were encountered: