Add regression test for KT-17640

This commit is contained in:
Ilmir Usmanov
2017-11-07 12:09:50 +03:00
parent ad80d1239f
commit 0f9a21d429
3 changed files with 26 additions and 0 deletions
@@ -0,0 +1,9 @@
// 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)
}