2ecba6ac39
This directive anyway does not make test run twice with OI, and with NI It only once run the test with specific settings (// LANGUAGE) and ignores irrelevant (OI or NI tags)
11 lines
199 B
Kotlin
Vendored
11 lines
199 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
fun foo(s: String) {}
|
|
fun foo(i: Long) {}
|
|
|
|
fun bar(f: (Boolean) -> Unit) {}
|
|
|
|
fun test() {
|
|
<!INAPPLICABLE_CANDIDATE!>bar<!>(::<!UNRESOLVED_REFERENCE!>foo<!>)
|
|
}
|