Fix outer class mapping for closures in inline class

#KT-27030
 #KT-27033
This commit is contained in:
Dmitry Petrov
2018-09-21 16:21:18 +03:00
parent 26602c8443
commit 20d7210239
8 changed files with 70 additions and 1 deletions
@@ -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()