Skip to content

typecheck bug report: imported but not used (typecheck) false negative on windows, no error on GNU/Linux #3246

Closed Answered by ldez
earl-warren asked this question in Q&A
Discussion options

You must be logged in to vote

Hello,

typecheck is not a real linter it's just a way to parse/display "compilation" and linters errors (linter reports are not errors).

$ git clone --depth 1 -b bug-lint-windows https://gitea.com/earl-warren/gitea

$ cd gitea

$ GOOS=windows GOARCH=amd64 go build .       
# lab.forgefriends.org/friendlyforgeformat/gof3/util
../../go/pkg/mod/lab.forgefriends.org/friendlyforgeformat/gof3@v0.0.0-20220923153411-7f34a71a50dd/util/exec.go:131:25: undefined: syscall.Kill

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ldez
Comment options

ldez Sep 27, 2022
Maintainer

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by earl-warren
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3245 on September 27, 2022 15:05.