[FIR] Report ABSTRACT_MEMBER_NOT_IMPLEMENTED_BY_ENUM_ENTRY on enum entries with initializer

#KT-59577 Fixed
This commit is contained in:
Kirill Rakhman
2023-09-22 13:10:45 +02:00
committed by Space Team
parent ef78d4b95a
commit 44a4498ee5
5 changed files with 46 additions and 4 deletions
@@ -0,0 +1,3 @@
/enum.kt:(506,508): error: 'static enum entry E2: EnumClass = object : EnumClass' does not implement abstract members: [fun foo(): Int, val bar: String].
/enum.kt:(524,526): error: 'static enum entry E3: EnumClass = object : EnumClass' does not implement abstract members: [fun foo(): Int, val bar: String].