Files
kotlin-fork/idea/testData/intentions/addNamesToCallArguments/ambiguousCall.kt
T
2017-05-26 13:58:46 +03:00

8 lines
441 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 in file ambiguousCall.kt<br>public fun foo(s: String, b: Boolean, p: Int): Unit defined in root package in file ambiguousCall.kt
fun foo(s: String, b: Boolean, p: Int){}
fun foo(s: String, b: Boolean, c: Char){}
fun bar() {
<caret>foo("", true)
}