Hello, I ran into some confusion recently with the...
# detekt
e
Hello, I ran into some confusion recently with the
MultilineLambdaItParameter
rule. Specifically we had a single statement lambda that rolled over multiple lines, but the rule didn't flag it. example repro:
Copy code
fun detektTest(strings: List<String>): List<String> {
  return strings
    .flatMap {
      it
        .reader()
        .readLines()
    }
}
we tracked this down to this PR, and wanted to follow up to see if there was a conclusion to this comment thread in particular: https://github.com/detekt/detekt/pull/5505/files/993cb9c255e5f60e41b075476e670fd4e0e4c63b#r1014169233
b
Interesting. Could you open an issue to track this? Thanks!
e
sure. I'll get it written up