[FIR] Pass proper containing classes from context to type resolution for local classes
This commit is contained in:
committed by
teamcityserver
parent
98934e15c0
commit
2b84e8e68f
+20
@@ -0,0 +1,20 @@
|
||||
// FIR_IDENTICAL
|
||||
// FIR_DUMP
|
||||
|
||||
class Base {
|
||||
private class Private
|
||||
|
||||
fun test() {
|
||||
object {
|
||||
val x: Private = Private()
|
||||
|
||||
init {
|
||||
val y: Private = Private()
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
val z: Private = Private()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user