Files
kotlin/compiler/testData/codegen/bytecodeListing/suspendReifiedFun.kt
2017-11-10 19:16:06 +03:00

10 lines
215 B
Kotlin
Vendored

// WITH_RUNTIME
open class AbstractStuff() {
inline suspend fun<reified T> hello(value: T): T = println("Hello, ${T::class}").let { value }
}
class Stuff: AbstractStuff() {
suspend fun foo() = hello(40)
}