2ee8f1c454
#KT-5362 Fixed #KT-8814 Fixed
26 lines
823 B
Kotlin
Vendored
26 lines
823 B
Kotlin
Vendored
class Outer {
|
|
fun function() = 42
|
|
val property = ""
|
|
|
|
class Nested {
|
|
fun f() = <!UNRESOLVED_REFERENCE!>function<!>()
|
|
fun g() = <!UNRESOLVED_REFERENCE!>property<!>
|
|
fun h() = this<!UNRESOLVED_REFERENCE!>@Outer<!>.<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>function<!>()
|
|
fun i() = this<!UNRESOLVED_REFERENCE!>@Outer<!>.<!DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>property<!>
|
|
}
|
|
|
|
inner class Inner {
|
|
fun innerFun() = function()
|
|
val innerProp = property
|
|
fun innerThisFun() = this@Outer.function()
|
|
val innerThisProp = this@Outer.property
|
|
|
|
inner class InnerInner {
|
|
fun f() = innerFun()
|
|
fun g() = innerProp
|
|
fun h() = this@Inner.innerFun()
|
|
fun i() = this@Inner.innerProp
|
|
}
|
|
}
|
|
}
|