The -exclude
option does not seem to work for functions declared in the same package
#251
Labels
-exclude
option does not seem to work for functions declared in the same package
#251
I have this very simple example:
First file:
Second file:
Exclude file:
When I run
errcheck -exclude exclude.txt ./...
I get:The exclusion is properly working for the function called in the
second
package, but not from within its own package, in thefirst
package.The text was updated successfully, but these errors were encountered: