Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolveWithStdlib/lowPriorityInResolution.kt
T
pyos e6d923f65c FIR: rename HIDDEN to INVISIBLE_REFERENCE
Some of them should be INVISIBLE_MEMBER though
2021-04-21 16:18:21 +03:00

11 lines
248 B
Kotlin
Vendored

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