[IR] Fix translation of synthetic generic java properties
- Compute substituted accessor descriptor to avoid unbound type parameters
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
|
||||
|
||||
// MODULE: lib
|
||||
// FILE: lib.kt
|
||||
|
||||
|
||||
class C<T> {
|
||||
fun foo(): String = "OK"
|
||||
|
||||
companion object {
|
||||
fun bar(): C<*> = C<String>()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: main.kt
|
||||
|
||||
fun box(): String {
|
||||
return C.bar().foo()
|
||||
}
|
||||
Reference in New Issue
Block a user