Closed peterbourgon closed 8 years ago
Consider this package.
Expected output: deadcode passes.
deadcode
Actual output: deadcode: foo.go:3:1: bar is unused
deadcode: foo.go:3:1: bar is unused
bar is not unused; it's used in tests. Is that not good enough?
To be clear, this is a question more than a real PR :) I'm sure there is a reason, I just can't think it up.
Consider this package.
Expected output:
deadcode
passes.Actual output:
deadcode: foo.go:3:1: bar is unused
bar is not unused; it's used in tests. Is that not good enough?