f283f2db43
Also introduce few new diagnostics: - NONE_APPLICABLE more many inapplicable candidates - HIDDEN for visible candidates
13 lines
203 B
Kotlin
Vendored
13 lines
203 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
class A {
|
|
private fun foo(i: Int) {}
|
|
private fun foo(s: String) {}
|
|
}
|
|
|
|
fun test(a: A) {
|
|
a.<!NONE_APPLICABLE!>foo<!>(3)
|
|
a.<!NONE_APPLICABLE!>foo<!>()
|
|
}
|
|
|