<@U87RQEYLB> Thanks for the advice, but It didn’t ...
# detekt
t
@schalkms Thanks for the advice, but It didn’t help. My problem is that given code
Copy code
val a : Int? = null
val b = a.let { it.plus(3) }  // let#1
val c = b.let { a -> a.minus(1) } // let#2
b.let { it?.plus(c) } // let#3
a?.let { it.plus(b) } // let#4
traversing it with
visitCallExpression
finds only
let#1
and
let#2
, but
let#3
and
let#4
left unnoticed, although it visits its lambda arguments. Maybe these two lines are not considered as
expression
, because their return value is never used?