[FIR] Consistent isLocal for objects inside Enum entries

This commit is contained in:
Andrey Zinovyev
2021-04-15 16:02:04 +03:00
committed by TeamCityServer
parent 7084fec651
commit 27766c2575
6 changed files with 14 additions and 9 deletions
@@ -5,7 +5,7 @@ package a
enum class C {
E1, E2, E3 {
object O_O
<!LOCAL_OBJECT_NOT_ALLOWED!>object O_O<!>
fun b() {
O_O
@@ -5,7 +5,7 @@ package a
enum class C {
E1, E2, E3 {
object O_O
<!LOCAL_OBJECT_NOT_ALLOWED!>object O_O<!>
fun b() {
O_O