cmd/vet: panics with inconsistent import #16112
Closed
Labels
Milestone
Comments
Bisected to CL 22123, so cc @griesemer I guess. |
I can't recreate the problem. I don't see any warnings or panics from vet. Does it get fixed if you run |
It's weird. It's not happening in my local machine either. I still keep the same go version. Guess my machine had cached something in tmp directory that might have caused this. Please feel free to close it. When I can reliably reproduce, I will revisit this issue. Thanks! |
OK. Thanks! |
This was referenced Aug 8, 2016
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I think I found a strange edge case for
go vet
.Here are my file structure:
And I just ran
go vet *.go
in~/go/src/github.com/gyuho/aaa
It shouldn't panic.
Could anyone take a look? Or am I doing something wrong?
It's weird. If I put all the code in one file (without 2.go) in top
aaa
package, I don't see this panic.Thanks!
The text was updated successfully, but these errors were encountered: