Change Signature: Support conversion between extension and non-extension functions

This commit is contained in:
Alexey Sedunov
2014-12-19 20:40:17 +03:00
parent b31da56e09
commit 96866a108f
82 changed files with 1425 additions and 64 deletions
@@ -0,0 +1,13 @@
fun length(): Int = 1
fun <caret>foo(k: Int): Boolean {
return length() - k > 0
}
class X(val k: Int) {
fun length() = 2
}
fun test() {
foo(2)
}