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