Intentions: Convert extension receiver to parameter and vice versa
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun <caret>String.foo(n: Int): Boolean {
|
||||
return length() - n/2 > 1
|
||||
}
|
||||
|
||||
fun test() {
|
||||
"1".foo(2)
|
||||
}
|
||||
Reference in New Issue
Block a user