Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/lowPriorityInResolution.kt
T

11 lines
261 B
Kotlin
Vendored

<!CONFLICTING_OVERLOADS!>@Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
<!HIDDEN!>@kotlin.internal.LowPriorityInOverloadResolution<!>
fun foo(): Int<!> = 1
<!CONFLICTING_OVERLOADS!>fun foo(): String<!> = ""
fun test() {
val s = foo()
s.length
}