Smaller availability range for add argument name intention

This commit is contained in:
Valentin Kipyatkov
2015-06-24 11:22:45 +02:00
parent 9d83510af5
commit 98c0c636b3
14 changed files with 71 additions and 19 deletions
@@ -0,0 +1,6 @@
// IS_APPLICABLE: false
fun foo(p: Int){}
fun bar(list: List<Int>) {
foo(list[<caret>1])
}
@@ -0,0 +1,6 @@
// IS_APPLICABLE: false
fun foo(p: Int){}
fun bar() {
foo("".hashCode(<caret>))
}
@@ -0,0 +1,5 @@
fun foo(p: Int){}
fun bar() {
foo("".hashCode<caret>())
}
@@ -0,0 +1,5 @@
fun foo(p: Int){}
fun bar() {
foo(p = "".hashCode<caret>())
}