x/tools/cmd/guru: Variables used in functions passed as interface{}
are not detected as used
#16530
Labels
Milestone
interface{}
are not detected as used
#16530
Please answer these questions before submitting your issue. Thanks!
go version
)?go env
)?With this test code
example.go
:Try to do any code analysis with guru. For example:
guru -scope . callers example.go:#100
Note: This causes a lot of trouble when working with code which uses Ginkgo, as the helpers Before, After, It, Context... get functions as
interface{}
.For example: https://github.com/cloudfoundry/locket/blob/959d2aefdeda273ad549e814af45dce6c6d6c7df/presence_test.go#L163-L167
The text was updated successfully, but these errors were encountered: