Files
kotlin-fork/compiler/testData/diagnostics/tests/invisibleClassInsteadOfFun.fir.kt
T
Nikolay Lunyak 710a8f4e0f [FIR] KT-58719: Check all imported declarations for visibility
Unfortunately, we have to check
callables even if the class is
inaccessible.

^KT-58719 Fixed
2023-05-22 11:40:30 +00:00

23 lines
397 B
Kotlin
Vendored

// ISSUE: KT-58719
// MODULE: a
// FILE: pagind/QueryPagingSource.kt
package pagind
internal class QueryPagingSource<Key : Any, RowType : Any>
fun <RowType : Any> QueryPagingSource(randomParam: Int) {}
// MODULE: b(a)
// FILE: Main.kt
package main
import pagind.QueryPagingSource
fun test() {
QueryPagingSource<Int>(10)
<!INVISIBLE_REFERENCE!>QueryPagingSource<!><Int, String>()
}