FIR: distinguish anonymous object as enum entry when scoping

so that `this` reference with the enum entry name as label can be
resolved
This commit is contained in:
Jinseong Jeon
2020-07-29 22:34:15 -07:00
committed by Mikhail Glukhikh
parent 52631b7abd
commit c744dfba9c
2 changed files with 5 additions and 2 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
enum class A {
X {
val x = "OK"