Files
kotlin-fork/idea/testData/intentions/addNamesToCallArguments/ambiguousCall.kt
T
2016-12-02 14:14:08 +03:00

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() {
<caret>foo("", true)
}