Files
kotlin-fork/idea/testData/intentions/addNameToArgument/ambiguousCall.kt
T

8 lines
391 B
Kotlin
Vendored

// IS_APPLICABLE: false
// ERROR: None of the following functions can be called with the arguments supplied: <br>public fun foo(s: String, b: Boolean, c: Char): Unit defined in root package<br>public fun foo(s: String, b: Boolean, p: Int): Unit defined in root package
fun foo(s: String, b: Boolean, p: Int){}
fun foo(s: String, b: Boolean, c: Char){}
fun bar() {
foo("", <caret>true)
}