Inspection for scope functions conversion
#KT-17047 Fixed
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
// FIX: Convert to 'let'
|
||||
|
||||
val x = "".<caret>run {
|
||||
this.length
|
||||
length
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
// FIX: Convert to 'let'
|
||||
|
||||
val x = "".<caret>let {
|
||||
it.length
|
||||
it.length
|
||||
}
|
||||
Reference in New Issue
Block a user