[FIR] Support static getters along with fake Enum.entries declaration in FIR
#KT-48872
This commit is contained in:
committed by
Space
parent
45b89de9f4
commit
93f17a2b86
+1
@@ -490,6 +490,7 @@ class EnumSyntheticFunctionsLowering(val context: JsCommonBackendContext) : Decl
|
||||
statements += when (kind) {
|
||||
IrSyntheticBodyKind.ENUM_VALUES -> createEnumValuesBody(declaration, enumClass)
|
||||
IrSyntheticBodyKind.ENUM_VALUEOF -> createEnumValueOfBody(declaration, enumClass)
|
||||
IrSyntheticBodyKind.ENUM_ENTRIES -> TODO("NOT IMPLEMENTED ON JS")
|
||||
}.statements
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user