Inspection for scope functions conversion
#KT-17047 Fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
// FIX: Convert to 'also'
|
||||
|
||||
class C {
|
||||
val x = hashSetOf<C>().<caret>also {
|
||||
it.add(this)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user