We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnnecessaryLet takes in account if the we use the return value of let or not.
UnnecessaryLet
let
UnnecessaryLet flags some of those.
val a = listOf<List<String>?>(listOf("")) .map { list -> list?.let { it + it } }
This is the same problem that #2938 but with UnnecessaryLet instead of UnnecessaryApply
UnnecessaryApply
The text was updated successfully, but these errors were encountered:
Add one more test to validate detekt#2987
4933635
Fix false positive for UnnecessaryLet with disabled type resolution (#…
102c28d
…2991) * Fix false positive for UnnecessaryLet with disabled type resolution * Add one more test to validate #2987
Successfully merging a pull request may close this issue.
Expected Behavior
UnnecessaryLet
takes in account if the we use the return value oflet
or not.Observed Behavior
UnnecessaryLet
flags some of those.Steps to Reproduce
Context
This is the same problem that #2938 but with
UnnecessaryLet
instead ofUnnecessaryApply
Your Environment
The text was updated successfully, but these errors were encountered: