4e3dbcada3
This change covers the case where some f/o was generated in common module and it is referenced in platform code. But signature of this f/o may be different in different modules because of e.g. actualization of value parameters with actual typealias ^KT-60850 Fixed
28 lines
427 B
Kotlin
Vendored
28 lines
427 B
Kotlin
Vendored
// MODULE: lib
|
|
// FILE: l.kt
|
|
|
|
open class LightParam : LightVariab(), PsiParam { // i/o public String getName
|
|
}
|
|
|
|
open class LightVariab {
|
|
fun name(): String? = "O"
|
|
val name2: String? get() = "K"
|
|
}
|
|
|
|
interface PsiParam {
|
|
fun name(): String?
|
|
val name2: String?
|
|
}
|
|
|
|
// MODULE: main(lib)
|
|
// FILE: m.kt
|
|
|
|
fun box(): String {
|
|
return object : LightParam() {
|
|
fun getText() = name() + name2
|
|
}.getText()
|
|
}
|
|
|
|
|
|
|