Remove descriptors from LocalDeclarationslowering
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_RUNTIME
|
||||
|
||||
interface Wrapper { fun runBlock() }
|
||||
|
||||
inline fun crossInlineBuildWrapper(crossinline block: () -> Unit) = object : Wrapper {
|
||||
override fun runBlock() {
|
||||
block()
|
||||
}
|
||||
}
|
||||
|
||||
class Container {
|
||||
val wrapper = crossInlineBuildWrapper {
|
||||
object { }
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
Container().wrapper.runBlock()
|
||||
return "OK"
|
||||
}
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// WITH_RUNTIME
|
||||
// COMMON_COROUTINES_TEST
|
||||
// WITH_COROUTINES
|
||||
|
||||
Reference in New Issue
Block a user