Split ReplaceSingleLineLetInspection to SimpleRedundantLet & ComplexRedundantLet
Relates to #KT-32010
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
class A {
|
||||
operator fun invoke(a: A, i: Int) {}
|
||||
}
|
||||
|
||||
fun foo(a: A) {
|
||||
a.<caret>let { it(it, 1) }
|
||||
}
|
||||
Reference in New Issue
Block a user