[FIR] Calculate effective visibility inside anonymous object properly

#KT-38432 Fixed
This commit is contained in:
Mikhail Glukhikh
2020-04-21 11:16:43 +03:00
parent bb73681b62
commit 57b4a54766
23 changed files with 71 additions and 72 deletions
@@ -6,10 +6,10 @@ FILE: problems.kt
super<R|kotlin/Any|>()
}
public final val name: R|kotlin/String| = String(123)
public[local] final val name: R|kotlin/String| = String(123)
public get(): R|kotlin/String|
public final fun test(): R|kotlin/Unit| {
public[local] final fun test(): R|kotlin/Unit| {
this@R|/anonymous|.R|/anonymous.name|
}