Add name to argument intention to work not only on the last argument

This commit is contained in:
Valentin Kipyatkov
2015-08-19 21:00:27 +03:00
parent 5e1d8bc503
commit ba33c834c1
4 changed files with 21 additions and 1 deletions
@@ -0,0 +1,7 @@
// INTENTION_TEXT: "Add 'a =' to argument"
fun foo(a: Int, b: String){}
fun bar() {
foo(<caret>1, b = "")
}
@@ -0,0 +1,7 @@
// INTENTION_TEXT: "Add 'a =' to argument"
fun foo(a: Int, b: String){}
fun bar() {
foo(a = 1, b = "")
}