Support mixed positioned/named arguments in AddNameToArgumentIntention

^KT-7745 Fixed
This commit is contained in:
Denis Zharkov
2019-08-30 12:29:29 +03:00
parent e54d2c7c32
commit 18df5d9db0
4 changed files with 26 additions and 2 deletions
@@ -0,0 +1,8 @@
// COMPILER_ARGUMENTS: -XXLanguage:+NewInference -XXLanguage:+MixedNamedArgumentsInTheirOwnPosition
// WITH_RUNTIME
fun foo(s: String, b: Boolean){}
fun bar() {
foo(<caret>"", true)
}
@@ -0,0 +1,8 @@
// COMPILER_ARGUMENTS: -XXLanguage:+NewInference -XXLanguage:+MixedNamedArgumentsInTheirOwnPosition
// WITH_RUNTIME
fun foo(s: String, b: Boolean){}
fun bar() {
foo(<caret>s = "", true)
}