[K/N] Supported outer this references from cached inline bodies

This commit is contained in:
Igor Chevdar
2021-09-16 10:37:59 +05:00
parent da02d25278
commit cb71240938
16 changed files with 268 additions and 89 deletions
@@ -0,0 +1,14 @@
/*
* Copyright 2010-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
open class Outer {
open inner class Inner1
inner class Middle {
inner class Inner2 : Inner1() {
fun getOuter() = this@Outer
fun getMiddle() = this@Middle
}
}
}