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:
committed by
Mikhail Glukhikh
parent
52631b7abd
commit
c744dfba9c
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
enum class A {
|
||||
X {
|
||||
val x = "OK"
|
||||
|
||||
Reference in New Issue
Block a user