[FIR] Consistent isLocal for objects inside Enum entries
This commit is contained in:
committed by
TeamCityServer
parent
7084fec651
commit
27766c2575
@@ -4,6 +4,8 @@
|
||||
enum class E {
|
||||
ENTRY,
|
||||
SUBCLASS {
|
||||
// Because of KT-45115 classes/objects inside enum entries are local in FIR
|
||||
@Suppress("LOCAL_OBJECT_NOT_ALLOWED")
|
||||
object O {
|
||||
fun foo() = 2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user