da9f0e7af8
Sometimes there are legitimate reasons to have two separate signature dumps for K1 and K2. ^KT-61797 Fixed
20 lines
302 B
Kotlin
Vendored
20 lines
302 B
Kotlin
Vendored
// WITH_STDLIB
|
|
// TARGET_BACKEND: JVM
|
|
// ISSUE: KT-61443
|
|
|
|
fun foo() = DelegatedB()()
|
|
|
|
interface A {
|
|
operator fun invoke() {}
|
|
|
|
operator fun invoke(value: String) = bar(value)
|
|
}
|
|
|
|
fun A.bar(value: String) {}
|
|
|
|
open class DelegatedB : B<String> by C()
|
|
|
|
interface B<out T> : A
|
|
|
|
class C<out T> : B<T>
|