FIR: Add test for get class + let in delegation

This commit is contained in:
Mikhail Glukhikh
2021-11-18 10:05:31 +03:00
committed by teamcity
parent 1c8b6dccff
commit 2338281889
6 changed files with 50 additions and 0 deletions
@@ -0,0 +1,11 @@
import kotlin.reflect.KClass
class SomeClass
inline fun <reified K> foo(klass: KClass<*>): K = null!!
val some: Map<String, String> by lazy {
SomeClass::class.let {
foo(it)
}
}