[FIR] KT-58719: Ensure the compiler resolves to the class

This commit is contained in:
Nikolay Lunyak
2023-05-17 14:14:43 +03:00
committed by Space Team
parent 67d51eb7ee
commit f446fc4154
7 changed files with 74 additions and 0 deletions
@@ -0,0 +1,22 @@
// 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_MEMBER!>QueryPagingSource<!><Int, String>()
}