Files
kotlin-fork/idea/testData/quickfix/checkArguments/addNameToArgument/invokeOnString.kt
T
Pavel Kirpichenkov fda8d7de8b [IDEA-TESTS] Specify language version in feature-dependent tests
Some quickfixes are relying on diagnostics, that won't be reported
with new language features enabled.
`MixedNamedArgumentsInTheirOwnPosition`
`AllowBreakAndContinueInsideWhen`
2020-02-17 10:56:46 +03:00

9 lines
153 B
Kotlin
Vendored

// "Add name to argument: 'b = 42'" "true"
// LANGUAGE_VERSION: 1.3
operator fun String.invoke(a: Int, b: Int) {}
fun g() {
""(a = 1, <caret>42)
}