Support mixed positioned/named arguments in AddNameToArgumentIntention
^KT-7745 Fixed
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user