Name Suggester: Suggest parameter name for the corresponding argument expression

#KT-8111 Fixed
This commit is contained in:
Alexey Sedunov
2015-11-10 15:07:22 +03:00
parent f21603daf2
commit aeee8bafe6
20 changed files with 137 additions and 51 deletions
@@ -0,0 +1,11 @@
// WITH_RUNTIME
fun x(items : Sequence<String>) {}
fun y() {
x(<selection>sequenceOf("")</selection>)
}
/*
items
of
sequence
sequenceOf
*/
@@ -0,0 +1,11 @@
// WITH_RUNTIME
fun x(items : Sequence<String>) {}
fun y() {
x(<selection>foo@ (sequenceOf(""))</selection>)
}
/*
items
of
sequence
sequenceOf
*/