Fix outer class mapping for closures in inline class
#KT-27030 #KT-27033
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
inline class R(private val r: Int) {
|
||||
fun test() = { "OK" }()
|
||||
}
|
||||
|
||||
fun box() = R(0).test()
|
||||
Reference in New Issue
Block a user