Extract Function: Fix extraction of explicit/implicit invoke()

#KT-8116 Fixed
This commit is contained in:
Alexey Sedunov
2015-06-23 16:19:51 +03:00
parent f6965b5004
commit c6f6637b25
12 changed files with 142 additions and 7 deletions
@@ -0,0 +1,10 @@
// PARAM_DESCRIPTOR: value-parameter val a: kotlin.String defined in foo
// PARAM_TYPES: kotlin.String
fun String.invoke() {
}
fun foo(a: String) {
<selection>a()</selection>
}