Files
kotlin/compiler/testData/codegen/dumpDeclarations/intermediateAbstractSuspendFunction.kt
Mikhail Zarechenskiy 4af8833f08 Render unwrapped suspend function in backend
Hierarchy of specially wrapped suspend function may have inconsistent
 overridden descriptors: some of them may be wrapped, some unwrapped.
 To mitigate this problem, currently it's proposed to render only
 unwrapped functions, which are always have stable overridden descriptors

 #KT-23809 Fixed
2018-04-17 16:24:13 +03:00

10 lines
142 B
Kotlin
Vendored

interface A<T> {
suspend fun foo(): T
}
interface B<K> : A<K>
abstract class C<V> : B<V> {
override suspend fun foo(): V = TODO()
}