You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In such code BatchFetch import statement marked as unused:
It seems to me that BatchFetch is actually unused in your code.
Can you provide a reproducible example that is not specific to any framework?
Sorry - my mistake. It is fragment from real project and BatchFetch used and reported too. I've edit sample code. Any enum used in annotation in way EnumName.CONSTANT reported as unused import.
Expected Behavior
When enum constants used in annotation attributes the enum import should not marked as unused.
Steps to Reproduce
In such code
BatchFetch
import statement marked as unused:Context
We use Gradle plugin with type resolution mode (detektMain task). Bug is introduced after 1.12.0 (witch works as expected).
Your Environment
The text was updated successfully, but these errors were encountered: