Files
kotlin-fork/idea/testData/inspectionsLocal/booleanLiteralArgument/booleanLiteralFixAll.kt
T
Mikhail Glukhikh 955bfd6e7b Introduce "add parameter names to following arguments"
This commit also refactors relevant intentions & inspections,
like "add name to argument", "add names to call arguments",
"unnamed boolean literal argument"

#KT-30622 Fixed
2019-05-13 12:33:39 +03:00

7 lines
170 B
Kotlin
Vendored

// HIGHLIGHT: GENERIC_ERROR_OR_WARNING
// FIX: Add names to call arguments
fun foo(a: Boolean, b: Boolean, c: Boolean) {}
fun test() {
foo(true<caret>, true, true)
}