Intentions: Convert extension receiver to parameter and vice versa

This commit is contained in:
Alexey Sedunov
2015-01-20 13:42:53 +03:00
parent 7b6160b92f
commit cef9996ba7
31 changed files with 408 additions and 3 deletions
@@ -0,0 +1,7 @@
fun <caret>String.foo(n: Int): Boolean {
return length() - n/2 > 1
}
fun test() {
"1".foo(2)
}