[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.
*/
class Bar : Foo(42) {
inner class BarInner(val x: Int) : FooInner()
}
fun main() {
val o = Bar().BarInner(117)
println(o.x)
println(o.foo())
}