Split ReplaceSingleLineLetInspection to SimpleRedundantLet & ComplexRedundantLet
Relates to #KT-32010
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// WITH_RUNTIME
|
||||
// PROBLEM: none
|
||||
|
||||
fun foo() {
|
||||
val foo: String? = null
|
||||
foo?.let {
|
||||
text ->
|
||||
"".to("")<caret>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user